change download source
Some checks failed
Java CI / build (push) Has been cancelled

This commit is contained in:
fly6516 2024-12-17 18:37:34 +08:00
parent 4d90afb424
commit 8305e660d2

View File

@ -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 包管理器并安装必要的工具