Actions: Provide both signing key and auth token
The action doesn't produce an error on missing secrets so this way people don't have to remember to uncomment anything.
This commit is contained in:
parent
89121a4e06
commit
ac09392589
1 changed files with 4 additions and 4 deletions
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
|
@ -25,8 +25,9 @@ jobs:
|
||||||
# Example: mycache (for mycache.cachix.org)
|
# Example: mycache (for mycache.cachix.org)
|
||||||
#
|
#
|
||||||
# For this to work, you also need to set the CACHIX_SIGNING_KEY or
|
# For this to work, you also need to set the CACHIX_SIGNING_KEY or
|
||||||
# CACHIX_AUTH_TOKEN secret in your repository settings in Github found
|
# CACHIX_AUTH_TOKEN secret in your repository secrets settings in
|
||||||
# at https://github.com/<your_githubname>/nur-packages/settings/secrets
|
# Github found at
|
||||||
|
# https://github.com/<your_githubname>/nur-packages/settings/secrets
|
||||||
cachixName:
|
cachixName:
|
||||||
- <YOUR_CACHIX_NAME>
|
- <YOUR_CACHIX_NAME>
|
||||||
nixPath:
|
nixPath:
|
||||||
|
@ -50,8 +51,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.cachixName }}
|
name: ${{ matrix.cachixName }}
|
||||||
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
||||||
# or:
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||||
#authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
|
||||||
- name: Check evaluation
|
- name: Check evaluation
|
||||||
run: |
|
run: |
|
||||||
nix-env -f . -qa \* --meta --xml \
|
nix-env -f . -qa \* --meta --xml \
|
||||||
|
|
Loading…
Reference in a new issue