更新 .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: with:
ref: dev/3.1_release_merge_MS ref: dev/3.1_release_merge_MS
- name: 设置 JDK 21 - name: 设置 JDK 21
uses: actions/setup-java@v4 uses: actions/setup-java@v5
with: with:
distribution: 'temurin' distribution: 'temurin'
java-version: '21' java-version: '21'
cache: 'maven' cache: 'maven'
cache-dependency-path: 'sub-project/pom.xml'
- name: Maven 打包 - name: Maven 打包
uses: apache/maven-action@v1 run: mvn -B package --file pom.xml
with:
maven-version: '3.9.11'
goals: 'clean package'
options: '-DskipTests'
- name: 准备部署文件 - name: 准备部署文件
run: | run: |