Skip to content

Commit a1d8188

Browse files
committed
CI: Keep only one revision pinned in the binary cache
1 parent 4126db4 commit a1d8188

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,5 @@ jobs:
4444
pinName=${{ format('{0}-{1}-{2}', github.ref_name , matrix.distro, matrix.system) }}
4545
linkFarm=$(nix-build linkFarm.nix --argstr name "$pinName")
4646
cachix push $cachixCache $linkFarm
47-
cachix pin $cachixCache $pinName $linkFarm
47+
cachix pin $cachixCache $pinName $linkFarm --keep-revisions 1
4848
nix-store --query --references $linkFarm | xargs du -shc | sort -h

0 commit comments

Comments
 (0)