mirror of
https://github.com/ilya-zlobintsev/LACT.git
synced 2025-02-25 18:55:26 -06:00
dev: skip building signed packages if signing secret is not found
this should prevent CI from failing when running on forks
This commit is contained in:
parent
3d783d6348
commit
3426ceb959
2
.github/workflows/build-packages.yaml
vendored
2
.github/workflows/build-packages.yaml
vendored
@ -45,7 +45,7 @@ jobs:
|
||||
chmod +x /usr/local/bin/pkger
|
||||
|
||||
- name: Build packages (with signing)
|
||||
if: ${{ contains(matrix.target-os, 'fedora') }}
|
||||
if: ${{ contains(matrix.target-os, 'fedora') && env.GPG_KEY_PASSWORD != '' }}
|
||||
run: pkger -t -c .pkger.yml build ${{ matrix.recipe }} -i ${{ matrix.target-os }}
|
||||
env:
|
||||
GPG_KEY_PASSWORD: ${{ secrets.GPG_KEY_PASSWORD }}
|
||||
|
Loading…
Reference in New Issue
Block a user