From e033b019f6eb65802944f8ec84c9f17c5f7cd042 Mon Sep 17 00:00:00 2001 From: overtrue Date: Wed, 9 Jul 2025 13:19:34 +0800 Subject: [PATCH] feat: align GUI artifact retention with build-rustfs --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 40e8e50ae..36aa46508 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -351,7 +351,7 @@ jobs: with: name: ${{ steps.gui_package.outputs.gui_package }} path: ${{ steps.gui_package.outputs.gui_file }} - retention-days: 30 + retention-days: ${{ startsWith(github.ref, 'refs/tags/') && 30 || 7 }} # Release management release: