Skip to content

Commit 1548dff

Browse files
committed
Fix gh actions nix caching
1 parent 0d311c9 commit 1548dff

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/push.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Build with nix
22

33
on: [push, pull_request, workflow_dispatch]
4+
permissions:
5+
actions: write
46
jobs:
57
build:
68
runs-on: ubuntu-latest
@@ -9,10 +11,9 @@ jobs:
911
- uses: actions/checkout@v4
1012

1113
- name: Install Nix
12-
uses: cachix/install-nix-action@v31
14+
uses: nixbuild/nix-quick-install-action@v31
1315
with:
14-
github_access_token: ${{ secrets.GITHUB_TOKEN }}
15-
extra_nix_config: |
16+
nix_conf: |
1617
keep-env-derivations = true
1718
keep-outputs = true
1819

0 commit comments

Comments
 (0)