1
0
Fork 0

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.
main
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
1 changed files with 4 additions and 4 deletions

View File

@ -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 \