add apt update
Some checks failed
Java CI / build (push) Failing after 7s

This commit is contained in:
fly6516 2024-12-17 18:49:28 +08:00
parent 845718f67a
commit 864fa86c97

View File

@ -38,6 +38,9 @@ jobs:
# # deb-src https://mirror.nju.edu.cn/ubuntu/ noble-proposed main restricted universe multiverse
EOF
- name: Apt Update
run: |
apt update
- name: Install Node.js
run: |
@ -47,7 +50,6 @@ jobs:
# 安装 Node.js 20.x
#curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
#apt-get install -y nodejs
apt update
apt install nodejs npm
# 验证安装是否成功