diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 500e127..6e6adc0 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -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