Skip to content

Commit 907505c

Browse files
tridgeclaude
andcommitted
ci: halve CI artifact retention from 90 to 45 days
GitHub Actions artifact storage is approaching our quota. Each `make`/build job uploads its rsync binary + manpages, the coverage job uploads its full HTML tree, and Android uploads its dist/ -- 11 jobs producing artifacts per PR/push, all kept for the repo default of 90 days. Set retention-days: 45 explicitly on every upload-artifact step so they expire at half the previous lifetime; older artifacts can still be re-built from the commit if needed. No other workflow behaviour changes. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 8bbea98 commit 907505c

11 files changed

Lines changed: 11 additions & 0 deletions

.github/workflows/almalinux-8-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ jobs:
7171
- name: save artifact
7272
uses: actions/upload-artifact@v4
7373
with:
74+
retention-days: 45
7475
name: almalinux-8-bin
7576
path: |
7677
rsync

.github/workflows/android-static-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,5 +116,6 @@ jobs:
116116
- name: Upload artifact
117117
uses: actions/upload-artifact@v4
118118
with:
119+
retention-days: 45
119120
name: ${{ env.ARTIFACT_NAME }}
120121
path: dist/

.github/workflows/coverage.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ jobs:
6565
if: always()
6666
uses: actions/upload-artifact@v4
6767
with:
68+
retention-days: 45
6869
name: coverage-html
6970
path: |
7071
coverage

.github/workflows/cygwin-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ jobs:
5454
- name: save artifact
5555
uses: actions/upload-artifact@v4
5656
with:
57+
retention-days: 45
5758
name: cygwin-bin
5859
path: |
5960
rsync.exe

.github/workflows/freebsd-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
- name: save artifact
4141
uses: actions/upload-artifact@v4
4242
with:
43+
retention-days: 45
4344
name: freebsd-bin
4445
path: |
4546
rsync

.github/workflows/macos-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ jobs:
5454
- name: save artifact
5555
uses: actions/upload-artifact@v4
5656
with:
57+
retention-days: 45
5758
name: macos-bin
5859
path: |
5960
rsync

.github/workflows/netbsd-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
- name: save artifact
4242
uses: actions/upload-artifact@v4
4343
with:
44+
retention-days: 45
4445
name: netbsd-bin
4546
path: |
4647
rsync

.github/workflows/openbsd-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ jobs:
5050
- name: save artifact
5151
uses: actions/upload-artifact@v4
5252
with:
53+
retention-days: 45
5354
name: openbsd-bin
5455
path: |
5556
rsync

.github/workflows/solaris-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
- name: save artifact
4141
uses: actions/upload-artifact@v4
4242
with:
43+
retention-days: 45
4344
name: solaris-bin
4445
path: |
4546
rsync

.github/workflows/ubuntu-22.04-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ jobs:
5353
- name: save artifact
5454
uses: actions/upload-artifact@v4
5555
with:
56+
retention-days: 45
5657
name: ubuntu-22.04-bin
5758
path: |
5859
rsync

0 commit comments

Comments
 (0)