From e6b4ec04595a64c228aa94e4d0a50c5c80b636ce Mon Sep 17 00:00:00 2001 From: wangjia <809946525@qq.com> Date: Tue, 7 Jul 2026 20:07:16 +0800 Subject: [PATCH] =?UTF-8?q?fix(ci/client):=20mac=20=E7=AB=AF=20job=20runs-?= =?UTF-8?q?on=20mac=E2=86=92nas(=E5=8C=B9=E9=85=8D=E5=AE=9E=E9=99=85=20run?= =?UTF-8?q?ner=20label)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit mac runner(mac-pangolin-2)启动脚本注册 label 为 nas:host;此前靠手动加的 mac label 让 runs-on:mac 命中,但 runner 重启(经启动脚本)会重注册成 nas、丢掉 mac label → build-android/macos/ios/release-deploy 无 runner 可接、永久排队。改成 runs-on:nas 匹配实际 label,抗重启漂移(nas runner 即这台 mac,唯一)。windows job 仍 runs-on:windows(windows runner)。 Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_013nMthbVEmQquxBRKb9Fj8u --- .gitea/workflows/deploy-client.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/deploy-client.yml b/.gitea/workflows/deploy-client.yml index aeab948..45bcc62 100644 --- a/.gitea/workflows/deploy-client.yml +++ b/.gitea/workflows/deploy-client.yml @@ -34,7 +34,7 @@ concurrency: jobs: build-android: - runs-on: mac + runs-on: nas env: GOPROXY: https://goproxy.cn,direct PUB_HOSTED_URL: https://pub.flutter-io.cn @@ -98,7 +98,7 @@ jobs: # simply picks up whatever artifacts DO exist — an absent "macos" # artifact is not an error there. build-macos: - runs-on: mac + runs-on: nas continue-on-error: true env: PUB_HOSTED_URL: https://pub.flutter-io.cn @@ -129,7 +129,7 @@ jobs: path: dist/ build-ios: - runs-on: mac + runs-on: nas continue-on-error: true env: PUB_HOSTED_URL: https://pub.flutter-io.cn @@ -160,7 +160,7 @@ jobs: # (对应平台下载保留 pangolin1 上一版,待可用时下个 client-v* 追上)。 release-deploy: needs: [build-android] - runs-on: mac + runs-on: nas steps: - name: Checkout uses: actions/checkout@v4