diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index d10e76a..a8bd3f6 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -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 包管理器并安装必要的工具