From 059fac6bb933fc5f608e3fdfe1ed87726c43925a Mon Sep 17 00:00:00 2001 From: "Codex (Delicious233)" Date: Thu, 6 Aug 2026 15:03:21 +0800 Subject: [PATCH] =?UTF-8?q?fix(release):=20release=20job=20=E6=94=BE?= =?UTF-8?q?=E8=A1=8C=20skipped=20=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit build-mobile 在 RELEASE_MOBILE_ENABLED 未启用时跳过,needs 依赖被跳过 使 release job 也默认跳过(rc.5 已证实产物齐全但未发版)。加 if: !cancelled() && !contains(needs.*.result, 'failure'):放行 skipped、 仍拦截 failure 与取消。 --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0cf00e88..09ee8dbf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -348,6 +348,9 @@ jobs: # ── GitHub Release ─────────────────────────── release: needs: [build-go, build-desktop, build-desktop-macos, build-mobile] + # build-mobile 未启用时(RELEASE_MOBILE_ENABLED != true)会 skipped, + # needs 依赖被跳过会使下游默认跳过;显式放行 skipped、仍拦截 failure。 + if: ${{ !cancelled() && !contains(needs.*.result, 'failure') }} runs-on: ubuntu-latest permissions: contents: write