update new

This commit is contained in:
2025-10-04 14:59:46 +08:00
parent 04580b34f6
commit 3f60e0e344

View File

@@ -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