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:
toonn 2021-07-20 14:46:36 +02:00
parent 89121a4e06
commit ac09392589
No known key found for this signature in database
GPG key ID: A1756943D328A924

View file

@ -25,8 +25,9 @@ jobs:
# Example: mycache (for mycache.cachix.org)
#
# 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
# at https://github.com/<your_githubname>/nur-packages/settings/secrets
# CACHIX_AUTH_TOKEN secret in your repository secrets settings in
# Github found at
# https://github.com/<your_githubname>/nur-packages/settings/secrets
cachixName:
- <YOUR_CACHIX_NAME>
nixPath:
@ -50,8 +51,7 @@ jobs:
with:
name: ${{ matrix.cachixName }}
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
# or:
#authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Check evaluation
run: |
nix-env -f . -qa \* --meta --xml \