更新 .gitea/workflows/test.yaml

This commit is contained in:
2026-05-05 16:51:25 +08:00
parent 130768031b
commit f817517ab3

View File

@@ -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: |