]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
ci: halve CI artifact retention from 90 to 45 days
authorAndrew Tridgell <andrew@tridgell.net>
Thu, 28 May 2026 19:26:30 +0000 (05:26 +1000)
committerAndrew Tridgell <andrew@tridgell.net>
Thu, 28 May 2026 19:44:14 +0000 (05:44 +1000)
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>
.github/workflows/almalinux-8-build.yml
.github/workflows/android-static-build.yml
.github/workflows/coverage.yml
.github/workflows/cygwin-build.yml
.github/workflows/freebsd-build.yml
.github/workflows/macos-build.yml
.github/workflows/netbsd-build.yml
.github/workflows/openbsd-build.yml
.github/workflows/solaris-build.yml
.github/workflows/ubuntu-22.04-build.yml
.github/workflows/ubuntu-build.yml

index e633153cd6e1bb36cb3b863b0eafa8e5633b7375..1a0b0e1579234ef54fa36586b9f3f60e8558a552 100644 (file)
@@ -71,6 +71,7 @@ jobs:
     - name: save artifact
       uses: actions/upload-artifact@v4
       with:
+        retention-days: 45
         name: almalinux-8-bin
         path: |
           rsync
index d48544f8127f019aada0868d1483df855941275e..57a31882989b0fb66e98d5c787928bff2c7d02f7 100644 (file)
@@ -116,5 +116,6 @@ jobs:
       - name: Upload artifact
         uses: actions/upload-artifact@v4
         with:
+          retention-days: 45
           name: ${{ env.ARTIFACT_NAME }}
           path: dist/
index 7c070db7026ade862bb26b67e1b26d8d1559ad42..415f04f0b99f216db43a3989e4763c002a49c418 100644 (file)
@@ -65,6 +65,7 @@ jobs:
       if: always()
       uses: actions/upload-artifact@v4
       with:
+        retention-days: 45
         name: coverage-html
         path: |
           coverage
index 577a2098578849b7f9aee110fb9f35ebb6a13c2b..87fbe901ade6f289761c0cabc7dba178b75f1b47 100644 (file)
@@ -54,6 +54,7 @@ jobs:
     - name: save artifact
       uses: actions/upload-artifact@v4
       with:
+        retention-days: 45
         name: cygwin-bin
         path: |
           rsync.exe
index 0d2b362790d17fdb60122b6f1bf67c6acca2dda5..cd6f92c2aef3a2ac4dc38015d82723ce1b61f60e 100644 (file)
@@ -40,6 +40,7 @@ jobs:
     - name: save artifact
       uses: actions/upload-artifact@v4
       with:
+        retention-days: 45
         name: freebsd-bin
         path: |
           rsync
index 0653a6036dc43c985683f0ec576e4dba678e4de0..067671ce0da594289452f24f6785c27f9d31ddf7 100644 (file)
@@ -54,6 +54,7 @@ jobs:
     - name: save artifact
       uses: actions/upload-artifact@v4
       with:
+        retention-days: 45
         name: macos-bin
         path: |
           rsync
index 3acc23408916b87102bb8b07654a5a54637911d3..50112a0f5ba45acf29a934a327f40e3c755a7f22 100644 (file)
@@ -41,6 +41,7 @@ jobs:
     - name: save artifact
       uses: actions/upload-artifact@v4
       with:
+        retention-days: 45
         name: netbsd-bin
         path: |
           rsync
index 2a74b23f3372af0c43f2136212a4a77e48816773..f863aecfbbcac1ea8c960edd33d6767f3090a250 100644 (file)
@@ -50,6 +50,7 @@ jobs:
     - name: save artifact
       uses: actions/upload-artifact@v4
       with:
+        retention-days: 45
         name: openbsd-bin
         path: |
           rsync
index c7867f90cee53e20bc2226af694d9efa02ff1c6d..953b4c74b700529ff83317af2b135d3ef4054422 100644 (file)
@@ -40,6 +40,7 @@ jobs:
     - name: save artifact
       uses: actions/upload-artifact@v4
       with:
+        retention-days: 45
         name: solaris-bin
         path: |
           rsync
index 19f9cc03795bdd4309dc8429bf1fd59a018e5ff9..392b5e7385e461b67afd79edc23cf310d2eb5cf3 100644 (file)
@@ -53,6 +53,7 @@ jobs:
     - name: save artifact
       uses: actions/upload-artifact@v4
       with:
+        retention-days: 45
         name: ubuntu-22.04-bin
         path: |
           rsync
index b3e67d0ac62aff1c0412cd3593604f088fe77936..1d74ff4ff95e318e0918c870aa7c2c369939e07c 100644 (file)
@@ -51,6 +51,7 @@ jobs:
     - name: save artifact
       uses: actions/upload-artifact@v4
       with:
+        retention-days: 45
         name: ubuntu-bin
         path: |
           rsync