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