Change cachix pin keep-revisions from 3 to 1

This commit is contained in:
2026-07-24 22:54:17 +08:00
committed by GitHub
parent 365dba4f8f
commit 6926e931b1
+1 -1
View File
@@ -68,7 +68,7 @@ jobs:
nix build .#default --no-link --print-build-logs --print-out-paths > "$RUNNER_TEMP/out-paths"
cachix push "$CACHIX_CACHE_NAME" < "$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
env: