Skip to content

Commit a698ae6

Browse files
committed
Cap dist-tarball artifact retention and skip re-compression
The built dist tarball is intra-run transport only: the smoke, playwright, and ff-matrix legs download it within the same run and nothing reads it afterward. Default 90-day retention just accumulates large stale tarballs, and upload-artifact's default zip compression wastes CPU re-compressing an already-gzipped .tar.gz.
1 parent e99cd22 commit a698ae6

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎.github/actions/build-dist-tarball/action.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,8 @@ runs:
5151
with:
5252
name: ${{ inputs.artifact-name }}
5353
path: ./package/${{ inputs.tarball-name }}
54+
# intra-run transport only: legs of the same run download it minutes
55+
# after upload; nothing reads it after the run
56+
retention-days: 1
57+
# the tarball is already gzipped - re-compressing wastes CPU
58+
compression-level: 0

0 commit comments

Comments
 (0)