更新 .gitea/workflows/build.yaml

This commit is contained in:
cxykevin 2024-12-25 22:04:25 +08:00
parent e82855e817
commit 466229319f

View File

@ -11,11 +11,9 @@ jobs:
- name: Prepare Source
run: |
echo "--- write source ---"
echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free">/etc/apt/sources.list
echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-updates main contrib non-free">>/etc/apt/sources.list
echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-backports main contrib non-free">>/etc/apt/sources.list
cat /etc/apt/sources.list
rm -rf /etc/apt/sources.list.d/*
sed -i 's|deb.debian.org|mirrors.tuna.tsinghua.edu.cn|' /etc/apt/sources.list
cat /etc/apt/sources.list
echo "--- update source ---"
apt-get update
- name: Prepare Lftp