Updates nix-install action to v12 (#749)
This avoids the newest Github Action deprecations. Starting from
version 11 it is necessary to specify the `nix_path`, so this PR also
does that.
commit4f687ccc5ea81a1b5d92b082b2550658d926ed8a
authorChristoph Hegemann <6189397+kritzcreek@users.noreply.github.com>
dateWed 25 Nov 2020, 07:41 (6 years ago)
parent4647ef1
.github/workflows/main.yml+3−1
@@ -8,7 +8,9 @@ jobs:
88 runs-on: ubuntu-latest
99 steps:
1010 - uses: actions/checkout@v2
11− - uses: cachix/install-nix-action@v9
11+ - uses: cachix/install-nix-action@v12
12+ with:
13+ nix_path: nixpkgs=channel:nixos-20.09
1214 - uses: actions/cache@v2
1315 with:
1416 path: |
.github/workflows/release.yml+3−1
@@ -10,7 +10,9 @@ jobs:
1010 runs-on: ubuntu-latest
1111 steps:
1212 - uses: actions/checkout@v2
13− - uses: cachix/install-nix-action@v9
13+ - uses: cachix/install-nix-action@v12
14+ with:
15+ nix_path: nixpkgs=channel:nixos-20.09
1416 - name: Render packages.dhall
1517 run: |
1618 nix-shell --run '>packages.dhall dhall <<< ./src/packages.dhall'