From b4fdc0be52d7c3e48e932698bafc3f69dbd45b3b Mon Sep 17 00:00:00 2001 From: Mihai Fufezan Date: Wed, 26 Apr 2023 23:55:38 +0300 Subject: [PATCH] CI: update nix install action --- .github/workflows/nix-build.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nix-build.yaml b/.github/workflows/nix-build.yaml index adf9ed2..9565218 100644 --- a/.github/workflows/nix-build.yaml +++ b/.github/workflows/nix-build.yaml @@ -11,15 +11,16 @@ jobs: with: submodules: recursive - name: Install nix - uses: cachix/install-nix-action@v18 + uses: cachix/install-nix-action@v20 with: install_url: https://nixos.org/nix/install extra_nix_config: | auto-optimise-store = true + access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} experimental-features = nix-command flakes - uses: cachix/cachix-action@v12 with: name: hyprland authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' - name: Build Hyprpaper with default settings - run: nix build --print-build-logs + run: nix build --print-build-logs --accept-flake-config