ci: test splitting it up into several different workflows
Some checks failed
On_Push / pdfs (events) (push) Has been cancelled
On_Push / pdfs (budget) (push) Has been cancelled
On_Push / pdfs (handovers) (push) Has been cancelled
On_Push / pdfs (push) Failing after 0s

This commit is contained in:
silver 2024-09-14 20:15:55 +01:00
parent dfc5075ce6
commit dd6bc96691
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D
4 changed files with 72 additions and 3 deletions

View file

@ -7,7 +7,6 @@ on:
paths:
- .forgejo/**/*
- Committee/**/Handovers/*
- Minutes/**/*
- Committee/**/Budget/*
- Events/**/*
# so we can manually build the artifacts
@ -20,7 +19,7 @@ jobs:
runs-on: nix
strategy:
matrix:
script: [ handovers, minutes, budget, events ]
script: [ handovers, budget, events ]
permissions:
# needs this to create tags and releases
contents: write

View file

@ -0,0 +1,28 @@
name: On_Push
on:
push:
branches:
- 'main'
paths:
- .forgejo/**/*
- Minutes/**/*
# so we can manually build the artifacts
workflow_dispatch:
jobs:
# rust code must be formatted for standardisation
pdfs:
# build it using teh base nixos system, helps with caching
runs-on: nix
permissions:
# needs this to create tags and releases
contents: write
steps:
- name: Use local action
uses: ./.forgejo/actions/build-release-pdf
with:
repository: ${{ gitea.repository }}
ref_name: ${{ gitea.ref_name }}
token: ${{ secrets.API_TOKEN_FORGEJO }}
script: "minutes"