From 1a5108b5ad932e888a2b52f13616b483ebb9856e Mon Sep 17 00:00:00 2001 From: Tunglies <77394545+Tunglies@users.noreply.github.com> Date: Wed, 13 Aug 2025 17:40:37 +0800 Subject: [PATCH] refactor: enhance clean_old_assets job dependencies for improved execution flow --- .github/workflows/autobuild.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/autobuild.yml b/.github/workflows/autobuild.yml index b99bb3ef..de93e899 100644 --- a/.github/workflows/autobuild.yml +++ b/.github/workflows/autobuild.yml @@ -250,8 +250,15 @@ jobs: clean_old_assets: name: Clean Old Release Assets - needs: [check_commit, update_tag] - if: ${{ needs.check_commit.outputs.should_run == 'true' && needs.update_tag.result == 'success' }} + needs: + [ + check_commit, + update_tag, + autobuild-x86-windows-macos-linux, + autobuild-arm-linux, + autobuild-x86-arm-windows_webview2, + ] + if: ${{ needs.check_commit.outputs.should_run == 'true' && needs.update_tag.result == 'success' && always() && !cancelled() && !failure() }} uses: clash-verge-rev/clash-verge-rev/.github/workflows/clean-old-assets.yml@dev with: