fix(ci): 修复when条件语法
ci/woodpecker/push/woodpecker Pipeline failed

问题:
- build-artifacts的when条件语法错误
- 导致步骤被取消

修复:
- 调整when条件的缩进和格式
This commit is contained in:
张翔
2026-03-29 17:53:24 +08:00
parent 2fab09a423
commit afc462c46c
+2 -1
View File
@@ -198,7 +198,8 @@ steps:
- /tmp/npm-cache:/root/.npm - /tmp/npm-cache:/root/.npm
- /tmp/node-modules-cache:/woodpecker/src/node_modules - /tmp/node-modules-cache:/woodpecker/src/node_modules
when: when:
- event: push event:
- push
branch: branch:
- release - release
- release/** - release/**