on master help sign in
wip
commit0fdc68ac6dcba6c3d5ff605966ef71b90edfc6f8 authoriko <ilyakooo0@gmail.com> dateWed 22 Dec 2021, 15:24 (5 years ago) parent165fdaa
2 files changed+6−8
.github/actions/common_setup/action.yaml+5−6 .github/actions/nix_cache/action.yaml+1−2
.github/actions/common_setup/action.yaml+5−6
@@ -10,11 +10,6 @@ inputs:
1010runs:
1111 using: "composite"
1212 steps:
13− - name: Cache Nix
14− uses: ./.github/actions/nix_cache
15− with:
16− key: ${{ inputs.key }}
17− restore-keys: ${{ inputs.restore-keys }}
1813 - name: Install Nix
1914 uses: cachix/install-nix-action@v16
2015 with:
@@ -22,4 +17,8 @@ runs:
2217 system-features = kvm
2318 trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
2419 substituters = https://hydra.iohk.io https://cache.nixos.org/
25−
20+ - name: Cache Nix
21+ uses: ./.github/actions/nix_cache
22+ with:
23+ key: ${{ inputs.key }}
24+ restore-keys: ${{ inputs.restore-keys }}
.github/actions/nix_cache/action.yaml+1−2
@@ -14,8 +14,7 @@ runs:
1414 - name: make nix store writable
1515 shell: bash
1616 run: |
17− sudo mkdir /nix
18− sudo chmod +w /nix
17+ sudo chmod +w /nix/store
1918 - name: Cache Nix
2019 id: cache-nix
2120 uses: actions/cache@v2.1.7