From 1eca6e7bcf0644e5561e982a8b210c6eb19bdf9a Mon Sep 17 00:00:00 2001 From: hxuanyu <2252193204@qq.com> Date: Mon, 4 Nov 2024 15:14:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=87=E5=AE=9A=E6=89=93=E5=8C=85=E6=97=B6?= =?UTF-8?q?=E7=9A=84maven=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/build-deploy.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build-deploy.yaml b/.gitea/workflows/build-deploy.yaml index d32c305..86e37fa 100644 --- a/.gitea/workflows/build-deploy.yaml +++ b/.gitea/workflows/build-deploy.yaml @@ -15,10 +15,12 @@ jobs: # 设置JDK环境 - name: Set up JDK 8 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 # 使用最新的 v3 版本 with: java-version: '8' - distribution: 'adopt' + distribution: 'temurin' # 或者使用 'adopt', 'zulu' 等其他发行版 + cache: 'maven' # 自动缓存 Maven 依赖 + maven-version: '3.8.6' # 指定 Maven 版本 # 缓存Maven依赖 - name: Cache Maven packages