本地
Some checks failed
构建并部署 Spring Boot 应用 / build-and-deploy (push) Failing after 8m46s

This commit is contained in:
2025-10-14 04:23:32 +08:00
parent ccff7d60b8
commit cfd1f7a492

View File

@@ -24,8 +24,8 @@ jobs:
echo "复制本地 JDK 文件..." echo "复制本地 JDK 文件..."
cp "/opt/jdk-dist/openjdk-17.0.2_linux-x64_bin.tar.gz" jdk.tar.gz cp "/opt/jdk-dist/openjdk-17.0.2_linux-x64_bin.tar.gz" jdk.tar.gz
else else
echo " 错误:本地 JDK 文件不存在" echo "本地 JDK 文件不存在,从网络下载..."
exit 1 wget http://192.168.171.223:8082/openjdk-17.0.2_linux-x64_bin.tar.gz -O jdk.tar.gz
fi fi
echo "安装 JDK..." echo "安装 JDK..."