git.fiddlerwoaroof.com
Browse code

fix(ci): don't cache nix store, not faster

Ed Langley authored on 29/03/2022 02:55:04
Showing 1 changed files
... ...
@@ -24,30 +24,6 @@ jobs:
24 24
       # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
25 25
       - uses: actions/checkout@v2
26 26
 
27
-      # attempt to cache nix store
28
-      - run: |
29
-          # Create with liberal rights, otherwise cache action will complain
30
-          # about permission errors.
31
-          sudo mkdir -p /nix/store
32
-          sudo chmod -R 777 /nix
33
-
34
-      - name: Cache nix env take N+1
35
-        uses: actions/cache@v2
36
-        with:
37
-          path: |
38
-            # See https://github.com/actions/cache/pull/726
39
-            /nix/store/**
40
-            # Missing something?
41
-            /nix/var/nix/*/*
42
-            /nix/var/nix/db/*
43
-            /nix/var/nix/db/*/**
44
-            !/nix/var/nix/daemon-socket/socket
45
-            !/nix/var/nix/userpool/*
46
-            !/nix/var/nix/gc.lock
47
-            !/nix/var/nix/db/big-lock
48
-            !/nix/var/nix/db/reserved
49
-          key: ${{ runner.os }}-nix-store
50
-
51 27
       - uses: cachix/install-nix-action@v15
52 28
         with:
53 29
           extra_nix_config: |