File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -24,15 +24,29 @@ jobs:
2424 steps :
2525 - name : Checkout Repo
2626 uses : actions/checkout@v4
27+ - name : Create Nix Directories
28+ run : |
29+ sudo mkdir -p /nix/store
30+ sudo chmod -R 777 /nix
2731 - name : Install nix
2832 uses : ./.github/actions/nix-install-ephemeral
2933 with :
3034 push-to-cache : ' true'
3135 env :
3236 DEV_AWS_ROLE : ${{ secrets.DEV_AWS_ROLE }}
3337 NIX_SIGN_SECRET_KEY : ${{ secrets.NIX_SIGN_SECRET_KEY }}
38+ - name : Mount Nix Store
39+ uses : useblacksmith/stickydisk@v1
40+ with :
41+ key : ${{ github.repository }}-nix-cache-eval-${{ runner.os }}
42+ path : /nix
3443 - id : set-matrix
3544 name : Generate Nix Matrix
3645 run : |
3746 set -Eeu -o pipefail
3847 nix run --accept-flake-config .\#github-matrix -- checks legacyPackages
48+
49+ sudo systemctl stop nix-daemon.socket || true
50+ sudo systemctl stop nix-daemon.service || true
51+ sudo pkill -9 nix-daemon || true
52+ sleep 2
You can’t perform that action at this time.
0 commit comments