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