This commit is contained in:
parent
8305e660d2
commit
845718f67a
@ -17,15 +17,28 @@ jobs:
|
||||
steps:
|
||||
- name: Change Download URL
|
||||
run: |
|
||||
# 腾讯源
|
||||
cat > /etc/apt/sources.list.d/ubuntu.sources<< EOF
|
||||
Types: deb
|
||||
URIs: http://mirrors.cloud.tencent.com/ubuntu/
|
||||
Suites: noble noble-updates noble-security
|
||||
Components: main restricted universe multiverse
|
||||
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
|
||||
cat <<'EOF' > /etc/apt/sources.list
|
||||
# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
|
||||
deb https://mirror.nju.edu.cn/ubuntu/ noble main restricted universe multiverse
|
||||
# deb-src https://mirror.nju.edu.cn/ubuntu/ noble main restricted universe multiverse
|
||||
deb https://mirror.nju.edu.cn/ubuntu/ noble-updates main restricted universe multiverse
|
||||
# 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
|
||||
|
||||
|
||||
- name: Install Node.js
|
||||
run: |
|
||||
# 更新 apt 包管理器并安装必要的工具
|
||||
|
Loading…
Reference in New Issue
Block a user