From 8309de06318f899567bb80da625a4eff2b7063c7 Mon Sep 17 00:00:00 2001 From: damianfral Date: Mon, 6 Nov 2023 21:08:05 +0000 Subject: [PATCH] Push to cachix, opensource cache. --- .github/workflows/build.yaml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 077b1e6..3d0bba7 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -9,7 +9,11 @@ jobs: uses: actions/checkout@v4 - name: install nix uses: cachix/install-nix-action@v23 - - run: nix build + with: + name: opensource + authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' + + - run: nix build --accept-flake-config build-devshell: runs-on: ubuntu-latest @@ -18,7 +22,11 @@ jobs: uses: actions/checkout@v4 - name: install nix uses: cachix/install-nix-action@v23 - - run: nix build .#devShells.x86_64-linux.default + with: + name: opensource + authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' + + - run: nix build .#devShells.x86_64-linux.default --accept-flake-config check: runs-on: ubuntu-latest @@ -27,4 +35,8 @@ jobs: uses: actions/checkout@v4 - name: install nix uses: cachix/install-nix-action@v23 - - run: nix flake check + with: + name: opensource + authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' + + - run: nix flake check --accept-flake-config