diff --git a/.woodpecker/my-first-workflow.yaml b/.woodpecker/my-first-workflow.yaml index 99eaa2760..cf7144c65 100644 --- a/.woodpecker/my-first-workflow.yaml +++ b/.woodpecker/my-first-workflow.yaml @@ -77,10 +77,10 @@ steps: GO111MODULE: on GOSUMDB: off commands: - # 2. 清空原有内容,写入阿里云Debian bookworm镜像源(直接覆盖,无需手动编辑) + # 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 + 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