From 86d882ad6eb8bc1e77a4184316051422d7e85688 Mon Sep 17 00:00:00 2001 From: "Codex (Delicious233)" Date: Thu, 6 Aug 2026 15:29:06 +0800 Subject: [PATCH] =?UTF-8?q?fix(release):=20=E6=9D=A1=E4=BB=B6=E4=B8=8B?= =?UTF-8?q?=E8=BD=BD=20mobile-artifacts=20=E4=BF=AE=E5=A4=8D=20release=20j?= =?UTF-8?q?ob?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit build-mobile 未启用时无 mobile-artifacts,release job 的无条件 Download Mobile artifacts 步骤报 'Artifact not found' 阻断发版 (v0.6.0 已验证)。加 if: needs.build-mobile.result == 'success'。 --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 09ee8dbf..841793cd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -374,6 +374,8 @@ jobs: path: dist - name: Download Mobile artifacts + # build-mobile 未启用时无 mobile-artifacts,条件跳过避免下载失败 + if: ${{ needs.build-mobile.result == 'success' }} uses: actions/download-artifact@v8 with: name: mobile-artifacts