更新 .gitea/workflows/test.yaml
This commit is contained in:
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user