on master help sign in
check directory
commitfb768893825eecd3198b6c4e7d6cfe49a2930355 authoriko <ilyakooo0@gmail.com> dateWed 22 Dec 2021, 11:23 (5 years ago) parent8d5f524
1 file changed+1−3
.github/actions/nix_cache/action.yaml+1−3
.github/actions/nix_cache/action.yaml+1−3
@@ -21,10 +21,8 @@ runs:
2121 restore-keys: ${{ inputs.restore-keys }}
2222 - name: Move nix store
2323 shell: bash
24− env:
25− CACHE_HIT: ${{ steps.cache-nix.outputs.cache-hit }}
2624 run: |
27− if [[ "$CACHE_HIT" == 'true' ]]; then
25+ if [[ -d "~/nix/store/" ]]; then
2826 sudo mkdir -p /nix/store
2927 sudo mv -f ~/nix/store/* /nix/store/
3028 fi