@@ -12,7 +12,7 @@ runs:
12 uses: actions/cache@v2.1.7
12 uses: actions/cache@v2.1.7
16 key: ${{ inputs.key }}
16 key: ${{ inputs.key }}
17 - name: Move nix store
17 - name: Move nix store
18 shell: bash
18 shell: bash
@@ -20,12 +20,12 @@ runs:
20 CACHE_HIT: ${{ steps.cache-nix.outputs.cache-hit }}
20 CACHE_HIT: ${{ steps.cache-nix.outputs.cache-hit }}
22 if [[ "$CACHE_HIT" == 'true' ]]; then
22 if [[ "$CACHE_HIT" == 'true' ]]; then
23− sudo mkdir -p /nix/store
23+ sudo mkdir -p /nix
24− sudo mv -f ~/nix/store/* /nix/store/
24+ sudo mv -f ~/nix/* /nix/
26 - name: Move nix store post
26 - name: Move nix store post
27 uses: ilyakooo0/github-composite-action-pre-post@1.0.0
27 uses: ilyakooo0/github-composite-action-pre-post@1.0.0
30− mkdir -p ~/nix/store
30+ mkdir -p ~/nix
31− sudo mv -f /nix/store/* ~/nix/store/
31+ sudo mv -f /nix/* ~/nix/