Skip to content

Commit

Permalink
Updates nix-install action to v12 (#749)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kritzcreek committed Nov 25, 2020
1 parent 4647ef1 commit 4f687cc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v9
- uses: cachix/install-nix-action@v12
with:
nix_path: nixpkgs=channel:nixos-20.09
- uses: actions/cache@v2
with:
path: |
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v9
- uses: cachix/install-nix-action@v12
with:
nix_path: nixpkgs=channel:nixos-20.09
- name: Render packages.dhall
run: |
nix-shell --run '>packages.dhall dhall <<< ./src/packages.dhall'
Expand Down

0 comments on commit 4f687cc

Please sign in to comment.