From b0ed20005d256884b102f04ba453f02d5bbb9e31 Mon Sep 17 00:00:00 2001 From: lingyuzeng Date: Sat, 4 Oct 2025 15:02:04 +0800 Subject: [PATCH] fix --- .woodpecker.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 0436598..08eae3e 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,6 +1,5 @@ -# .woodpecker.yml kind: pipeline -type: exec # ★ 关键:告诉调度器使用本机 exec runner(你的 macOS agent) +type: exec name: macos-local steps: @@ -8,11 +7,11 @@ steps: when: event: [push, manual, pull_request] agent: - labels: # ★ 用你 agent 的 labels 精确投递(来自 Agents 页面) + labels: host: Mac-mini.local platform: darwin/arm64 gpu: metal commands: - - echo "Agent: ${WOODPECKER_AGENT_NAME:-unknown}" + - printf 'Agent: %s\n' "${WOODPECKER_AGENT_NAME:-unknown}" - sw_vers - xcodebuild -version || true