This commit is contained in:
@@ -77,10 +77,16 @@ steps:
|
||||
GO111MODULE: on
|
||||
GOSUMDB: off
|
||||
commands:
|
||||
# 2. 清空原有内容,写入阿里云Debian bookworm镜像源(直接覆盖,无需手动编辑)
|
||||
- echo "deb http://mirrors.aliyun.com/debian/ bookworm main contrib non-free non-free-firmware
|
||||
- deb http://mirrors.aliyun.com/debian/ bookworm-updates main contrib non-free non-free-firmware
|
||||
- deb http://mirrors.aliyun.com/debian-security/ bookworm-security main contrib non-free non-free-firmware" > /etc/apt/sources.list
|
||||
|
||||
# 1. 更新源(用 apt-get 消除 CLI 不稳定警告,适配 CI)
|
||||
- apt-get update -y
|
||||
# 2. 安装正确的 upx 包(Debian 中包名是 upx-ucl,不是 upx)
|
||||
- apt-get install -y upx-ucl
|
||||
|
||||
- cd blazing
|
||||
- mkdir -p build
|
||||
- BIN_NAME="login_${CI_PIPELINE_CREATED}"
|
||||
|
||||
Reference in New Issue
Block a user