换源
This commit is contained in:
14
.github/workflows/gitea.yml
vendored
14
.github/workflows/gitea.yml
vendored
@@ -23,6 +23,20 @@ jobs:
|
|||||||
target: |
|
target: |
|
||||||
x86_64-unknown-linux-gnu
|
x86_64-unknown-linux-gnu
|
||||||
x86_64-pc-windows-gnu
|
x86_64-pc-windows-gnu
|
||||||
|
|
||||||
|
- name: 换源
|
||||||
|
run: |
|
||||||
|
tee /etc/apt/sources.list << EOF
|
||||||
|
deb https://mirrors.aliyun.com/debian/ bullseye main non-free contrib
|
||||||
|
deb-src https://mirrors.aliyun.com/debian/ bullseye main non-free contrib
|
||||||
|
deb https://mirrors.aliyun.com/debian-security/ bullseye-security main
|
||||||
|
deb-src https://mirrors.aliyun.com/debian-security/ bullseye-security main
|
||||||
|
deb https://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib
|
||||||
|
deb-src https://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib
|
||||||
|
#deb https://mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib
|
||||||
|
#deb-src https://mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib
|
||||||
|
EOF
|
||||||
|
|
||||||
- name: 安装 Windows 交叉编译所需的 MinGW-w64 工具链 (GCC for Windows)
|
- name: 安装 Windows 交叉编译所需的 MinGW-w64 工具链 (GCC for Windows)
|
||||||
run: |
|
run: |
|
||||||
apt-get update
|
apt-get update
|
||||||
|
|||||||
Reference in New Issue
Block a user