From 467b0c10861c641c20d11f7cf8fcfcacc1e36053 Mon Sep 17 00:00:00 2001 From: hxuanyu <2252193204@qq.com> Date: Mon, 4 Nov 2024 15:27:48 +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 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build-deploy.yaml b/.gitea/workflows/build-deploy.yaml index 86e37fa..b78679e 100644 --- a/.gitea/workflows/build-deploy.yaml +++ b/.gitea/workflows/build-deploy.yaml @@ -21,8 +21,11 @@ jobs: distribution: 'temurin' # 或者使用 'adopt', 'zulu' 等其他发行版 cache: 'maven' # 自动缓存 Maven 依赖 maven-version: '3.8.6' # 指定 Maven 版本 - - # 缓存Maven依赖 + - name: Set up Maven + uses: stCarolas/setup-maven@v4.5 + with: + maven-version: '3.8.6' + # 缓存Maven依赖 - name: Cache Maven packages uses: actions/cache@v2 with: