Skip to content

Commit

Permalink
Fix permissions issue on nix cache restore
Browse files Browse the repository at this point in the history
  • Loading branch information
Shon Feder committed Oct 15, 2021
1 parent af28751 commit 2aca5d1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Cache nix store
uses: actions/cache@v2
# Workaround for cache action not playing well with permissions
# See https://github.com/actions/cache/issues/324
uses: john-shaffer/cache@59429c0461095f341a8cf7388e5d3aef37b95edd
with:
path: /nix/store
key: ${{ runner.os }}-nix-${{ hashFiles('*.nix') }}
Expand Down

0 comments on commit 2aca5d1

Please sign in to comment.