Actions: Add Cachix auth token instructions

This commit is contained in:
toonn 2021-07-19 20:27:59 +02:00
parent ddffcc0885
commit 430e33f501
No known key found for this signature in database
GPG key ID: A1756943D328A924

View file

@ -24,8 +24,9 @@ jobs:
# Format: Your cachix cache host name without the ".cachix.org" suffix. # Format: Your cachix cache host name without the ".cachix.org" suffix.
# 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 secret # For this to work, you also need to set the CACHIX_SIGNING_KEY or
# in your repository settings in Github found at https://github.com/<your_githubname>/nur-packages/settings/secrets # CACHIX_AUTH_TOKEN secret in your repository settings in Github found
# at https://github.com/<your_githubname>/nur-packages/settings/secrets
cachixName: cachixName:
- <YOUR_CACHIX_NAME> - <YOUR_CACHIX_NAME>
nixPath: nixPath:
@ -49,6 +50,8 @@ 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 }}'
- name: Check evaluation - name: Check evaluation
run: | run: |
nix-env -f . -qa \* --meta --xml \ nix-env -f . -qa \* --meta --xml \