更新 .gitea/workflows/build.yaml
All checks were successful
Build and Publish / Run (push) Successful in 3m3s
All checks were successful
Build and Publish / Run (push) Successful in 3m3s
This commit is contained in:
parent
e82855e817
commit
466229319f
@ -11,11 +11,9 @@ jobs:
|
|||||||
- name: Prepare Source
|
- name: Prepare Source
|
||||||
run: |
|
run: |
|
||||||
echo "--- write source ---"
|
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/*
|
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 ---"
|
echo "--- update source ---"
|
||||||
apt-get update
|
apt-get update
|
||||||
- name: Prepare Lftp
|
- name: Prepare Lftp
|
||||||
|
Loading…
Reference in New Issue
Block a user