fix(ci): 修复 YAML 解析失败导致 CI 不触发
- 根因:'Run tests (coverage gate: lines >= 95%)' 未加引号, plain scalar 中 'coverage gate:' 的冒号被解析为嵌套 mapping, 整个 workflow 解析失败 → push 不触发(v0.5.0 引入) - 修复:name 加单引号;runs-on 恢复 debian-latest(runner 实际标签) - publish.yml 同步恢复 runs-on - 验证:两个文件 YAML 解析全部通过
This commit is contained in:
@@ -6,7 +6,7 @@ on:
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: debian-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
Reference in New Issue
Block a user