From 3f60e0e34449e57e0f408607d8e46b28e95f748b Mon Sep 17 00:00:00 2001 From: lingyuzeng Date: Sat, 4 Oct 2025 14:59:46 +0800 Subject: [PATCH] update new --- .woodpecker.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index ccf2ce6..0436598 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,18 +1,18 @@ -node: - labels: - host: Mac-mini.local - platform: darwin/arm64 - gpu: metal - -when: - event: - - push - - manual - - pull_request +# .woodpecker.yml +kind: pipeline +type: exec # ★ 关键:告诉调度器使用本机 exec runner(你的 macOS agent) +name: macos-local steps: - hello: - type: exec + - name: hello + when: + event: [push, manual, pull_request] + agent: + labels: # ★ 用你 agent 的 labels 精确投递(来自 Agents 页面) + host: Mac-mini.local + platform: darwin/arm64 + gpu: metal commands: + - echo "Agent: ${WOODPECKER_AGENT_NAME:-unknown}" - sw_vers - xcodebuild -version || true