```
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

chore(ci): 移除apt源备份步骤

移除了Woodpecker CI配置中不必要的apt源备份操作,
直接清空sources.list文件以确保镜像源配置的纯净性。
```
This commit is contained in:
昔念
2026-03-19 15:24:24 +08:00
parent 164e0d1437
commit 24bc74fc87

View File

@@ -77,8 +77,6 @@ steps:
GO111MODULE: on
GOSUMDB: off
commands:
# 1. 备份原有源可选
- cp /etc/apt/sources.list /etc/apt/sources.list.bak
# 2. 清空主源文件关键先删空再写入
- >
echo "" > /etc/apt/sources.list