From 93c34b3d2fd05876b784c466056e3beb62e4f73c Mon Sep 17 00:00:00 2001 From: admin Date: Wed, 6 May 2026 11:23:05 +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, 6 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 4690085b..434ff21a 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -19,6 +19,7 @@ jobs: with: ref: dev/3.1_release_merge_MS + # Maven 官方缓存(Gitea 推荐) - name: 缓存 Maven 依赖 uses: actions/cache@v5 with: @@ -26,12 +27,13 @@ jobs: key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} restore-keys: | ${{ runner.os }}-maven- - - - name: 查看 JDK & Maven 版本 + + - name: 构建项目 run: | java -version mvn -v + mvn clean package -DskipTests - - name: Maven 打包 - run: mvn -B package --file pom.xml + - name: 查看构建结果 + run: ls -lh target/*.jar \ No newline at end of file