Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/actions/nix-cachix-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ inputs:
Run the bundled `cache-nix-action` Nix store restore/save (default). Set to 'false' if the caller pins a different cache-nix-action version and runs it itself.
required: false
default: 'true'
gc-max-store-size-linux:
description: >-
`gc-max-store-size-linux` for the bundled cache-nix-action: the store is garbage-collected down to this size before a new cache is saved. Defaults to `8G`; a caller running a smaller or larger build passes its own budget (e.g. `1G` for a docs/subgraph build, `10G` for a webapp build).
required: false
default: 8G
gc-max-store-size-macos:
description: >-
Optional `gc-max-store-size-macos` for the bundled cache-nix-action. Left empty (the action's own default) unless a caller needs to cap the macOS store before saving.
Expand Down Expand Up @@ -68,5 +73,5 @@ runs:
with:
primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix', '**/flake.lock') }}
restore-prefixes-first-match: nix-${{ runner.os }}-
gc-max-store-size-linux: 8G
gc-max-store-size-linux: ${{ inputs.gc-max-store-size-linux }}
gc-max-store-size-macos: ${{ inputs.gc-max-store-size-macos }}
Loading