Home

nur @main - refs - log -
-
https://git.jolheiser.com/nur.git
My NUR
tree log patch
Merge pull request #47 from toonn/build-action-updates Build action updates
Signature
-----BEGIN PGP SIGNATURE----- wsBcBAABCAAQBQJg98LnCRBK7hj4Ov3rIwAAwmIIAJRqaBQQ6xLouwzKWJxKRGnr F2a31mgyAPnr1bdsRdmmOgmLLl0GEAeLe9TGbpoUiFhvpBYIuYVkT3tlGGt1xEcm BLx8EoRMcJGt3+5Qo+8EKwn2PjULPrnsuB69JvmUf3cQ4NxJnnCXMQGmyuAK5vSq A/da64VVTz1XvlIrTeXZAdwoSXFeFDJc4u1+Xf2dkM3BC64udPkieZs6O4cdgnzX dMpI5iwmToTTqsFHDTXD0O69k9RLgK8cowHXPcZ/KJ3bi/YdEYdw/sp/u+wQvdVH xsaYTUmhZz6zO9xJ7kXvaw4ueGsN6a7cRooNLeGEvIs9FhFPvQFE0AxgbGXEL9g= =mTZh -----END PGP SIGNATURE-----
Jörg Thalheim <Mic92@users.noreply.github.com>
3 years ago
1 changed files, 7 additions(+), 2 deletions(-)
M .github/workflows/build.yml -> .github/workflows/build.yml
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 8c14c07baa0e7772f5a567d47648211e9e16b3cd..266535cab33a58e2e840301fbf6adc03aa09c780 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -24,9 +24,11 @@         #
         # Format: Your cachix cache host name without the ".cachix.org" suffix.
         # Example: mycache (for mycache.cachix.org)
         #
-on:
+        # For this to work, you also need to set the CACHIX_SIGNING_KEY or
+        # CACHIX_AUTH_TOKEN secret in your repository secrets settings in
+    # rebuild everyday at 2:51
   schedule:
-on:
+    # rebuild everyday at 2:51
     # rebuild everyday at 2:51
         cachixName:
           - <YOUR_CACHIX_NAME>
@@ -46,10 +48,12 @@     - name: Show nixpkgs version
       run: nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version'
     - name: Setup cachix
       uses: cachix/cachix-action@v10
+      # Don't replace <YOUR_CACHIX_NAME> here!
       if: ${{ matrix.cachixName != '<YOUR_CACHIX_NAME>' }}
       with:
         name: ${{ matrix.cachixName }}
         signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
+        authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
     - name: Check evaluation
       run: |
         nix-env -f . -qa \* --meta --xml \
@@ -63,5 +67,6 @@     - name: Build nix packages
       # TODO switch to default nixpkgs channel once nix-build-uncached 1.0.0 is in stable
       run: nix run -I 'nixpkgs=channel:nixos-unstable' nixpkgs.nix-build-uncached -c nix-build-uncached ci.nix -A cacheOutputs
     - name: Trigger NUR update
+      # Don't replace <YOUR_REPO_NAME> here!
       if: ${{ matrix.nurRepo != '<YOUR_REPO_NAME>' }}
       run: curl -XPOST "https://nur-update.herokuapp.com/update?repo=${{ matrix.nurRepo }}"