Skip to content

Commit 339c29a

Browse files
ci: set retention-days on platform binary artifacts in build job
The seven cross-platform binaries were using GitHub's default 90-day retention. Cluster-log artifacts in the same file already use 7 days. Setting 30 days on binaries aligns retention with a reasonable policy and prevents unbounded storage accumulation.
1 parent 570f046 commit 339c29a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/functions.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -481,30 +481,37 @@ jobs:
481481
with:
482482
name: OSX Binary (AMD)
483483
path: func_darwin_amd64
484+
retention-days: 30
484485
- uses: actions/upload-artifact@v4
485486
with:
486487
name: OSX Binary (ARM)
487488
path: func_darwin_arm64
489+
retention-days: 30
488490
- uses: actions/upload-artifact@v4
489491
with:
490492
name: Linux Binary (AMD)
491493
path: func_linux_amd64
494+
retention-days: 30
492495
- uses: actions/upload-artifact@v4
493496
with:
494497
name: Linux Binary (ARM)
495498
path: func_linux_arm64
499+
retention-days: 30
496500
- uses: actions/upload-artifact@v4
497501
with:
498502
name: Linux Binary (PPC64LE)
499503
path: func_linux_ppc64le
504+
retention-days: 30
500505
- uses: actions/upload-artifact@v4
501506
with:
502507
name: Linux Binary (S390X)
503508
path: func_linux_s390x
509+
retention-days: 30
504510
- uses: actions/upload-artifact@v4
505511
with:
506512
name: Windows Binary
507513
path: func_windows_amd64.exe
514+
retention-days: 30
508515

509516
publish-utils-image:
510517
name: Publish Utils Image

0 commit comments

Comments
 (0)