ci(storage): shorten preflight artifact retention

cx
This commit is contained in:
vicrodh committed 2026-08-28 10:12:08 -06:00
1 parent 05cc0c815f
commit 351f9786a9
10 files changed
+26 -4

No files matched your search

+3 -1
View File
@@ -234,13 +234,14 @@ jobs:
name: qbz-linux-${{ inputs.arch }}
path: qbz
if-no-files-found: error
retention-days: ${{ startsWith(github.ref, 'refs/tags/v') && 90 || 7 }}
- name: Upload unstripped binary (symbolication)
uses: actions/upload-artifact@v7
with:
name: qbz-linux-${{ inputs.arch }}-unstripped
path: qbz-unstripped
retention-days: 90
retention-days: ${{ startsWith(github.ref, 'refs/tags/v') && 90 || 7 }}
# tar keeps the symlinks (AppRun, .DirIcon) and the exec bits that
# upload-artifact's zip would drop.
@@ -251,3 +252,4 @@ jobs:
name: qbz-appdir-${{ inputs.arch }}
path: appdir.tar
if-no-files-found: error
retention-days: ${{ startsWith(github.ref, 'refs/tags/v') && 90 || 7 }}
+1
View File
@@ -209,3 +209,4 @@ jobs:
name: smoke-log-windows
path: smoke.log
if-no-files-found: ignore
retention-days: 7
+1
View File
@@ -220,6 +220,7 @@ jobs:
uses: actions/upload-artifact@v7
with:
name: aur-qbz-bin-dry-run
retention-days: 7
path: |
/tmp/aur-qbz-bin/PKGBUILD
/tmp/aur-qbz-bin/.SRCINFO
+5 -1
View File
@@ -48,7 +48,10 @@ jobs:
- run: sudo apt-get update && sudo apt-get install -y libasound2-dev libjack-jackd2-dev libdbus-1-dev libssl-dev
- run: cargo build --release --manifest-path crates/Cargo.toml -p qbzd
- uses: actions/upload-artifact@v7
with: { name: qbzd-linux-x86_64-flatpak, path: crates/target/release/qbzd }
with:
name: qbzd-linux-x86_64-flatpak
path: crates/target/release/qbzd
retention-days: 7
build-flatpak:
needs: [build, build-qbzd]
@@ -191,6 +194,7 @@ jobs:
with:
name: qbz-flatpak
path: dist/${{ steps.build_flatpak.outputs.bundle_name }}
retention-days: ${{ startsWith(github.ref, 'refs/tags/v') && 90 || 7 }}
- name: Publish GitHub Release Asset
if: startsWith(github.ref, 'refs/tags/')
+1
View File
@@ -209,6 +209,7 @@ jobs:
uses: actions/upload-artifact@v7
with:
name: gentoo-overlay-dry-run
retention-days: 7
path: |
/tmp/qbz-overlay/media-sound/qbz-bin/*.ebuild
/tmp/qbz-overlay/media-sound/qbz-bin/Manifest
+5 -1
View File
@@ -156,7 +156,10 @@ jobs:
highest=$(printf '%s\n' "$floor" "GLIBC_2.35" | sort -V | tail -1)
[ "$highest" = "GLIBC_2.35" ] || { echo "::error::floor $floor exceeds 2.35"; exit 1; }
- uses: actions/upload-artifact@v7
with: { name: qbzd-linux-aarch64, path: crates/target/release/qbzd }
with:
name: qbzd-linux-aarch64
path: crates/target/release/qbzd
retention-days: 7
package:
needs: [version, build, build-qbzd]
@@ -292,6 +295,7 @@ jobs:
with:
name: qbz-linux-packages-${{ env.ARCH }}
path: dist/*
retention-days: ${{ startsWith(github.ref, 'refs/tags/v') && 90 || 7 }}
- name: Publish GitHub Release Assets
if: startsWith(github.ref, 'refs/tags/')
+5 -1
View File
@@ -156,7 +156,10 @@ jobs:
highest=$(printf '%s\n' "$floor" "GLIBC_2.35" | sort -V | tail -1)
[ "$highest" = "GLIBC_2.35" ] || { echo "::error::floor $floor exceeds 2.35"; exit 1; }
- uses: actions/upload-artifact@v7
with: { name: qbzd-linux-x86_64, path: crates/target/release/qbzd }
with:
name: qbzd-linux-x86_64
path: crates/target/release/qbzd
retention-days: 7
package:
needs: [version, build, build-qbzd]
@@ -292,6 +295,7 @@ jobs:
with:
name: qbz-linux-packages-${{ env.ARCH }}
path: dist/*
retention-days: ${{ startsWith(github.ref, 'refs/tags/v') && 90 || 7 }}
- name: Publish GitHub Release Assets
if: startsWith(github.ref, 'refs/tags/')
+1
View File
@@ -291,6 +291,7 @@ jobs:
uses: actions/upload-artifact@v7
with:
name: ${{ matrix.artifact }}
retention-days: ${{ startsWith(github.ref, 'refs/tags/v') && 90 || 7 }}
path: |
dist/*.dmg
dist/*.app.tar.gz
+2
View File
@@ -145,6 +145,7 @@ jobs:
name: qbz-snap-amd64
path: ${{ steps.build.outputs.snap }}
if-no-files-found: error
retention-days: ${{ startsWith(github.ref, 'refs/tags/v') && 90 || 7 }}
- name: Publish to the Snap Store (skipped when no store credentials)
if: ${{ env.SNAPCRAFT_STORE_CREDENTIALS != '' && (startsWith(github.ref, 'refs/tags/') || inputs.publish) }}
@@ -196,6 +197,7 @@ jobs:
name: qbz-snap-arm64
path: ${{ steps.build.outputs.snap }}
if-no-files-found: error
retention-days: ${{ startsWith(github.ref, 'refs/tags/v') && 90 || 7 }}
- name: Publish to the Snap Store (skipped when no store credentials)
if: ${{ env.SNAPCRAFT_STORE_CREDENTIALS != '' && (startsWith(github.ref, 'refs/tags/') || inputs.publish) }}
+2
View File
@@ -117,6 +117,7 @@ jobs:
name: qbz-msi-authoring
path: dist/QBZ_authoring_x64.msi
if-no-files-found: error
retention-days: 7
build-windows:
if: ${{ !inputs.authoring_only }}
@@ -446,6 +447,7 @@ jobs:
uses: actions/upload-artifact@v7
with:
name: qbz-windows-x86_64
retention-days: ${{ startsWith(github.ref, 'refs/tags/v') && 90 || 7 }}
path: |
dist/*.msi
dist/*.zip