Skip to content

Commit 4b5658f

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 e92b074 commit 4b5658f

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
@@ -473,30 +473,37 @@ jobs:
473473
with:
474474
name: OSX Binary (AMD)
475475
path: func_darwin_amd64
476+
retention-days: 30
476477
- uses: actions/upload-artifact@v4
477478
with:
478479
name: OSX Binary (ARM)
479480
path: func_darwin_arm64
481+
retention-days: 30
480482
- uses: actions/upload-artifact@v4
481483
with:
482484
name: Linux Binary (AMD)
483485
path: func_linux_amd64
486+
retention-days: 30
484487
- uses: actions/upload-artifact@v4
485488
with:
486489
name: Linux Binary (ARM)
487490
path: func_linux_arm64
491+
retention-days: 30
488492
- uses: actions/upload-artifact@v4
489493
with:
490494
name: Linux Binary (PPC64LE)
491495
path: func_linux_ppc64le
496+
retention-days: 30
492497
- uses: actions/upload-artifact@v4
493498
with:
494499
name: Linux Binary (S390X)
495500
path: func_linux_s390x
501+
retention-days: 30
496502
- uses: actions/upload-artifact@v4
497503
with:
498504
name: Windows Binary
499505
path: func_windows_amd64.exe
506+
retention-days: 30
500507

501508
publish-utils-image:
502509
name: Publish Utils Image

0 commit comments

Comments
 (0)