Skip to content

Commit

Permalink
Work around permission issues with caching action
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Dec 30, 2023
1 parent 5741164 commit af4252a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,5 @@ jobs:
- name: Copy Nix store to cachable location
if: steps.nix-store-cache.outputs.cache-hit != 'true'
run: |
sudo cp -r --preserve=timestamps /nix /tmp/nix-cache
sudo rm -rf /tmp/nix-cache/var/nix/{daemon-socket/socket,userpool,gc.lock,db/big-lock,db/reserved}
cp -r --preserve=timestamps /nix /tmp/nix-cache
rm -rf /tmp/nix-cache/var/nix/{daemon-socket/socket,userpool,gc.lock,db/big-lock,db/reserved}

0 comments on commit af4252a

Please sign in to comment.