This commit is contained in:
parent
4d90afb424
commit
8305e660d2
@ -15,6 +15,17 @@ jobs:
|
||||
image: dockerp.com/openjdk:17-jdk-slim # 使用带有 JDK 17 的 Docker 镜像
|
||||
|
||||
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
|
||||
EOF
|
||||
|
||||
- name: Install Node.js
|
||||
run: |
|
||||
# 更新 apt 包管理器并安装必要的工具
|
||||
|
Loading…
Reference in New Issue
Block a user