From b2868378bfb8360166bf248327db449efd03c564 Mon Sep 17 00:00:00 2001 From: baiqing Date: Wed, 6 May 2026 19:49:45 +0800 Subject: [PATCH] =?UTF-8?q?chore(ci):=20=E6=9A=82=E6=97=B6=E6=90=81?= =?UTF-8?q?=E7=BD=AE=20macos-13=20(Intel=20mac)=20=E6=9E=84=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GitHub Actions 把 macos-13 runner 标记为 deprecated,pool 容量紧张到 每次 dispatch 都 queue 1-2h 拿不到分配。已观测 4 次 release run (25415755417 / 25417633813 / 25419948896 / 25420193625)均因 mac-13 卡 queue 整个 run conclusion 永远不变 success,阻塞自动化判断。 暂时把 macos-13 matrix 项注释掉: - macOS arm64 (Apple Silicon) 仍发 dmg - Windows x64 + Linux 不变 - Intel mac 用户在 v1.2.21+ 期间用 Apple Silicon dmg + Rosetta(性能稍降但可用) 恢复条件(任一): - GH 把 macos-13 pool 容量恢复 - GH 提供 macos-14-x86_64 或 macos-15-large-x86_64 替代 runner - 项目 self-host runner 恢复方法:删除注释符即可。 --- .github/workflows/release-tauri.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-tauri.yml b/.github/workflows/release-tauri.yml index 858bdba9..9455978b 100644 --- a/.github/workflows/release-tauri.yml +++ b/.github/workflows/release-tauri.yml @@ -32,10 +32,15 @@ jobs: rust-target: aarch64-apple-darwin updater-target: darwin updater-arch: aarch64 - - platform: macos-13 - rust-target: x86_64-apple-darwin - updater-target: darwin - updater-arch: x86_64 + # 暂时搁置 Intel mac 构建:GitHub Actions 把 macos-13 标记为 deprecated + # runner,pool 容量紧张到每次 dispatch 都 queue 1-2h 拿不到分配,多次 + # release 都因这个 job 卡住整个 run 的 conclusion。等 GH 把 macOS x86_64 + # 迁移到非 deprecated runner(macos-14 / macos-15-large)或 macos-13 + # pool 缓解后再恢复。Apple Silicon dmg 在 Intel mac 上跑 Rosetta 仍可用。 + # - platform: macos-13 + # rust-target: x86_64-apple-darwin + # updater-target: darwin + # updater-arch: x86_64 - platform: windows-latest rust-target: x86_64-pc-windows-msvc updater-target: windows