mirror of
https://github.com/Melorise/cp-nix.git
synced 2026-11-07 14:39:34 +00:00
Change cachix pin keep-revisions from 3 to 1
This commit is contained in:
@@ -68,7 +68,7 @@ jobs:
|
|||||||
nix build .#default --no-link --print-build-logs --print-out-paths > "$RUNNER_TEMP/out-paths"
|
nix build .#default --no-link --print-build-logs --print-out-paths > "$RUNNER_TEMP/out-paths"
|
||||||
cachix push "$CACHIX_CACHE_NAME" < "$RUNNER_TEMP/out-paths"
|
cachix push "$CACHIX_CACHE_NAME" < "$RUNNER_TEMP/out-paths"
|
||||||
output_path="$(head -n 1 "$RUNNER_TEMP/out-paths")"
|
output_path="$(head -n 1 "$RUNNER_TEMP/out-paths")"
|
||||||
cachix pin "$CACHIX_CACHE_NAME" build-record "$output_path" --keep-revisions 3
|
cachix pin "$CACHIX_CACHE_NAME" build-record "$output_path" --keep-revisions 1
|
||||||
|
|
||||||
- name: Create build record release
|
- name: Create build record release
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user