Skip to content

Commit

Permalink
increase store size
Browse files Browse the repository at this point in the history
  • Loading branch information
deemp committed Jul 24, 2023
1 parent cb89309 commit d90d854
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
jobs:
_1_init:
name: Initial Nix
name: Initial Nix job
permissions:
actions: write
contents: write
Expand Down Expand Up @@ -87,9 +87,9 @@ jobs:
with:
key: nix-${{ matrix.os }}-caching-${{ hashfiles('**/flake.nix', '**/flake.lock') }}
linux-gc-enabled: true
linux-max-store-size: 0
linux-max-store-size: 7500000000
macos-gc-enabled: true
macos-max-store-size: 0
macos-max-store-size: 7000000000
restore-keys: |
nix-${{ matrix.os }}-caching-
- name: Remove old cache profiles
Expand Down
6 changes: 3 additions & 3 deletions nix-files/ci.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ let
jobInit.value = job {
strategy = { };
runsOn = os.ubuntu-22;
name = "Initial Nix";
name = "Initial Nix job";
cacheNixArgs.keyJob = "init";
strategy = { };
doSaveFlakes = false;
Expand Down Expand Up @@ -54,9 +54,9 @@ let
cacheNixArgs.keyJob = "caching";
cacheNixArgs = {
linuxGCEnabled = true;
# linuxMaxStoreSize = 4000000000;
linuxMaxStoreSize = 7500000000;
macosGCEnabled = true;
# macosMaxStoreSize = 4000000000;
macosMaxStoreSize = 7000000000;
};
} // { needs = [ jobInit.name ]; };

Expand Down

0 comments on commit d90d854

Please sign in to comment.