From f817517ab39f51f2cd9073410fca4549d0325a86 Mon Sep 17 00:00:00 2001 From: admin Date: Tue, 5 May 2026 16:51:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.gitea/workflows/test.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/test.yaml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 70ce9956..c4b6da4d 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -19,19 +19,17 @@ jobs: with: ref: dev/3.1_release_merge_MS + - name: 设置 JDK 21 - uses: actions/setup-java@v4 + uses: actions/setup-java@v5 with: distribution: 'temurin' java-version: '21' cache: 'maven' + cache-dependency-path: 'sub-project/pom.xml' - name: Maven 打包 - uses: apache/maven-action@v1 - with: - maven-version: '3.9.11' - goals: 'clean package' - options: '-DskipTests' + run: mvn -B package --file pom.xml - name: 准备部署文件 run: |