返回 Bug 清单
BUG-0042project-37低已修复deploy-ci

CI build@shell commands 使用 here-string 格式校验失败

发现:2026-09-30验证:2026-10-09置信度:85%

症状

Gitee Go `build@shell` 的 `commands` 字段使用了 YAML 的 `|` here-string 格式(多行字符串),导致流水线校验提示格式问题。

根因

`build@shell` 的 `commands` 期望的是 YAML 列表格式(一行一条命令),而非多行字符串。

修复方案

(`4d93e25`):将 `commands` 从 `|` here-string 改为列表格式,并在 `ci-build.sh` 中增加 CI 日志标识。 ```yaml commands: - set -e - bash scripts/ci-build.sh ```

修复命令

(`4d93e25`):将 `commands` 从 `|` here-string 改为列表格式,并在 `ci-build.sh` 中增加 CI 日志标识。
```yaml
commands:
  - set -e
  - bash scripts/ci-build.sh
```

错误签名

`build@shell` 的 `commands` 期望的是 YAML 列表格式(一行一条命令),而非多行字符串。

技术信息

来源项目

project-37

涉及文件

.workflow/xianzhi-admin-build.yml

标签

deploy-ci, project-37