forked from Computer_Society/open-goverance
ci: more testing
This commit is contained in:
parent
ee8a395d08
commit
0e453f4118
1 changed files with 5 additions and 5 deletions
|
@ -63,23 +63,23 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
# the if statements are to only run if there are changes in the sub dir
|
# the if statements are to only run if there are changes in the sub dir
|
||||||
# get the repo first
|
# get the repo first
|
||||||
- if: ${{ needs.changes.outputs.${{ matrix.script }} == 'true' }}
|
- if: ${{ format('needs.changes.outputs.{0}', matrix.script) == 'true' }}
|
||||||
uses: https://code.forgejo.org/actions/checkout@v4
|
uses: https://code.forgejo.org/actions/checkout@v4
|
||||||
- if: ${{ needs.changes.outputs.${{ matrix.script }} == 'true' }}
|
- if: ${{ format('needs.changes.outputs.{0}', matrix.script) == 'true' }}
|
||||||
uses: https://forgejo.skynet.ie/Skynet/actions/get_lfs@v3
|
uses: https://forgejo.skynet.ie/Skynet/actions/get_lfs@v3
|
||||||
with:
|
with:
|
||||||
repository: ${{ gitea.repository }}
|
repository: ${{ gitea.repository }}
|
||||||
ref_name: ${{ gitea.ref_name }}
|
ref_name: ${{ gitea.ref_name }}
|
||||||
# actual script to run the build process
|
# actual script to run the build process
|
||||||
- if: ${{ needs.changes.outputs.${{ matrix.script }} == 'true' }}
|
- if: ${{ format('needs.changes.outputs.{0}', matrix.script) == 'true' }}
|
||||||
run: nix run .#${{ matrix.script }}
|
run: nix run .#${{ matrix.script }}
|
||||||
# zip the files so they can be released
|
# zip the files so they can be released
|
||||||
- if: ${{ needs.changes.outputs.${{ matrix.script }} == 'true' }}
|
- if: ${{ format('needs.changes.outputs.{0}', matrix.script) == 'true' }}
|
||||||
run: |
|
run: |
|
||||||
mkdir releases
|
mkdir releases
|
||||||
zip -r releases/${{ matrix.script }}.zip pdf_${{ matrix.script }}
|
zip -r releases/${{ matrix.script }}.zip pdf_${{ matrix.script }}
|
||||||
# upload them so they are available at https://forgejo.skynet.ie/Computer_Society/open-goverance/releases/tag/minutes_latest
|
# upload them so they are available at https://forgejo.skynet.ie/Computer_Society/open-goverance/releases/tag/minutes_latest
|
||||||
- if: ${{ needs.changes.outputs.${{ matrix.script }} == 'true' }}
|
- if: ${{ format('needs.changes.outputs.{0}', matrix.script) == 'true' }}
|
||||||
uses: https://forgejo.skynet.ie/Skynet/actions-forgejo-release@v1
|
uses: https://forgejo.skynet.ie/Skynet/actions-forgejo-release@v1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.API_TOKEN_FORGEJO }}
|
token: ${{ secrets.API_TOKEN_FORGEJO }}
|
||||||
|
|
Loading…
Reference in a new issue