Skip to content

Commit 77e7f8d

Browse files
committed
try
1 parent 2eedd6a commit 77e7f8d

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

.github/actions/nix-devshell/action.yaml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,24 @@ runs:
66
- name: Setup Nix
77
uses: nixbuild/nix-quick-install-action@5bb6a3b3abe66fd09bbf250dce8ada94f856a703 # v30
88

9-
- uses: nix-community/cache-nix-action@135667ec418502fa5a3598af6fb9eb733888ce6a # v6.1.3
10-
with:
11-
# restore and save a cache using this key
12-
primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix', '**/flake.lock') }}
13-
# if there's no cache hit, restore a cache by this prefix
14-
restore-prefixes-first-match: nix-${{ runner.os }}-
15-
# collect garbage until Nix store size (in bytes) is at most this number
16-
# before trying to save a new cache
17-
# 1 GB = 1073741824 B
18-
gc-max-store-size-linux: 1073741824
19-
# do purge caches
20-
purge: true
21-
# purge all versions of the cache
22-
purge-prefixes: nix-${{ runner.os }}-
23-
# created more than this number of seconds ago relative to the start of the `Post Restore` phase
24-
purge-created: 0
25-
# except the version with the `primary-key`, if it exists
26-
purge-primary-key: never
9+
# - uses: nix-community/cache-nix-action@135667ec418502fa5a3598af6fb9eb733888ce6a # v6.1.3
10+
# with:
11+
# # restore and save a cache using this key
12+
# primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix', '**/flake.lock') }}
13+
# # if there's no cache hit, restore a cache by this prefix
14+
# restore-prefixes-first-match: nix-${{ runner.os }}-
15+
# # collect garbage until Nix store size (in bytes) is at most this number
16+
# # before trying to save a new cache
17+
# # 1 GB = 1073741824 B
18+
# gc-max-store-size-linux: 1073741824
19+
# # do purge caches
20+
# purge: true
21+
# # purge all versions of the cache
22+
# purge-prefixes: nix-${{ runner.os }}-
23+
# # created more than this number of seconds ago relative to the start of the `Post Restore` phase
24+
# purge-created: 0
25+
# # except the version with the `primary-key`, if it exists
26+
# purge-primary-key: never
2727

2828
- name: Enter devshell
2929
uses: nicknovitski/nix-develop@9be7cfb4b10451d3390a75dc18ad0465bed4932a # v1.2.1

0 commit comments

Comments
 (0)