编辑文件 my-first-workflow.yaml

This commit is contained in:
xinian
2026-01-28 13:39:04 +08:00
committed by cnb
parent 5a0145d98d
commit 8048531bfe

View File

@@ -60,13 +60,7 @@ steps:
# 拉取代码
- echo "✅ 代码拉取完成"
- ls
- cd blazing
- VERSION="v$(git rev-parse --short=8 HEAD)"
- echo "BUILD_VERSION=${VERSION}" >> "$CI_ENV_FILE"
- echo "构建版本号:${VERSION}"
- echo "✅ 生成版本号:${VERSION}"
# ========== 4. 编译Logic服务完全参考GitHub Actions编译配置 ==========
@@ -79,7 +73,7 @@ steps:
GOSUMDB: off
commands:
- mkdir -p build
- BIN_NAME="logic_${BUILD_VERSION}"
- BIN_NAME="logic_${CI_PIPELINE_STARTED}"
- |
go build -v \
-p=4 \