From ac09392589cf60255dd7bd8b635e4a9e6d2b3b78 Mon Sep 17 00:00:00 2001 From: toonn Date: Tue, 20 Jul 2021 14:46:36 +0200 Subject: [PATCH] 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. --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1b9f7f0..266535c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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//nur-packages/settings/secrets + # CACHIX_AUTH_TOKEN secret in your repository secrets settings in + # Github found at + # https://github.com//nur-packages/settings/secrets cachixName: - 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 \