commit 5ebaa2f434ce47effbecf64a0741f74731ab6cfe parent 91369f3482c37d7f4ee5316c77b21f5b9c2e422b Author: Nikolay Korotkiy <sikmir@gmail.com> Date: Mon, 8 Nov 2021 00:23:27 +0300 CI: update gh actions Diffstat:
M | .github/workflows/build.yml | | | 5 | ++++- |
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml @@ -27,6 +27,9 @@ jobs: uses: cachix/install-nix-action@v14 with: nix_path: "${{ matrix.nixPath }}" + extra_nix_config: | + experimental-features = nix-command flakes + access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} - name: Show nixpkgs version run: nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version' - name: Setup cachix @@ -44,7 +47,7 @@ jobs: -I nixpkgs=$(nix-instantiate --find-file nixpkgs) \ -I $PWD - name: Build nix packages - run: nix run -I 'nixpkgs=channel:nixos-unstable' nixpkgs.nix-build-uncached -c nix-build-uncached ci.nix -A cacheOutputs + run: nix shell -f '<nixpkgs>' nix-build-uncached -c nix-build-uncached ci.nix -A cacheOutputs env: NIXPKGS_ALLOW_INSECURE: 1 - name: Trigger NUR update