更新 .gitea/workflows/test.yaml

This commit is contained in:
2026-05-06 11:23:05 +08:00
parent a112dc247f
commit 93c34b3d2f

View File

@@ -19,6 +19,7 @@ jobs:
with: with:
ref: dev/3.1_release_merge_MS ref: dev/3.1_release_merge_MS
# Maven 官方缓存Gitea 推荐)
- name: 缓存 Maven 依赖 - name: 缓存 Maven 依赖
uses: actions/cache@v5 uses: actions/cache@v5
with: with:
@@ -27,11 +28,12 @@ jobs:
restore-keys: | restore-keys: |
${{ runner.os }}-maven- ${{ runner.os }}-maven-
- name: 查看 JDK & Maven 版本 - name: 构建项目
run: | run: |
java -version java -version
mvn -v mvn -v
mvn clean package -DskipTests
- name: Maven 打包 - name: 查看构建结果
run: mvn -B package --file pom.xml run: ls -lh target/*.jar