This commit is contained in:
parent
71eee6a3df
commit
75766c112b
@ -17,29 +17,11 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Change Download URL
|
- name: Change Download URL
|
||||||
run: |
|
run: |
|
||||||
cat <<'EOF' > /etc/apt/sources.list
|
# 替换为 NJU 的 APT 源
|
||||||
# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
|
echo "deb https://mirror.nju.edu.cn/ubuntu/ noble main restricted universe multiverse" > /etc/apt/sources.list
|
||||||
deb https://mirror.nju.edu.cn/ubuntu/ noble main restricted universe multiverse
|
echo "deb https://mirror.nju.edu.cn/ubuntu/ noble-updates main restricted universe multiverse" >> /etc/apt/sources.list
|
||||||
# deb-src https://mirror.nju.edu.cn/ubuntu/ noble main restricted universe multiverse
|
echo "deb https://mirror.nju.edu.cn/ubuntu/ noble-backports main restricted universe multiverse" >> /etc/apt/sources.list
|
||||||
deb https://mirror.nju.edu.cn/ubuntu/ noble-updates main restricted universe multiverse
|
echo "https://mirror.nju.edu.cn/ubuntu/ noble-security main restricted universe multiverse" >> /etc/apt/sources.list
|
||||||
# deb-src https://mirror.nju.edu.cn/ubuntu/ noble-updates main restricted universe multiverse
|
|
||||||
deb https://mirror.nju.edu.cn/ubuntu/ noble-backports main restricted universe multiverse
|
|
||||||
# deb-src https://mirror.nju.edu.cn/ubuntu/ noble-backports main restricted universe multiverse
|
|
||||||
|
|
||||||
# 以下安全更新软件源包含了官方源与镜像站配置,如有需要可自行修改注释切换
|
|
||||||
# deb https://mirror.nju.edu.cn/ubuntu/ noble-security main restricted universe multiverse
|
|
||||||
# # deb-src https://mirror.nju.edu.cn/ubuntu/ noble-security main restricted universe multiverse
|
|
||||||
|
|
||||||
deb http://security.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse
|
|
||||||
# deb-src http://security.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse
|
|
||||||
|
|
||||||
# 预发布软件源,不建议启用
|
|
||||||
# deb https://mirror.nju.edu.cn/ubuntu/ noble-proposed main restricted universe multiverse
|
|
||||||
# # deb-src https://mirror.nju.edu.cn/ubuntu/ noble-proposed main restricted universe multiverse
|
|
||||||
EOF
|
|
||||||
|
|
||||||
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 871920D1991BC93C
|
|
||||||
|
|
||||||
|
|
||||||
- name: Apt Update
|
- name: Apt Update
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user