ci: 更新 Maven 构建配置
Some checks failed
Sakura-Miki-build / Explore-Gitea-Actions (push) Failing after 1m14s
Some checks failed
Sakura-Miki-build / Explore-Gitea-Actions (push) Failing after 1m14s
- 移除 Set up Maven 步骤 - 使用 ./mvnw 替代 mvn命令
This commit is contained in:
parent
ae63e0f199
commit
f16ed3e6fd
@ -17,10 +17,11 @@ jobs:
|
||||
java-version: '17'
|
||||
distribution: 'temurin'
|
||||
cache: maven
|
||||
- name: Set up Maven
|
||||
uses: https://git.alina-dace.info/actions/setup-maven@v5
|
||||
with:
|
||||
maven-version: 3.8.2
|
||||
# - name: Set up Maven
|
||||
# uses: https://git.alina-dace.info/actions/setup-maven@v5
|
||||
# with:
|
||||
# maven-version: 3.8.2
|
||||
- run: chmod +x ./mvnw
|
||||
- name: build
|
||||
run: mvn clean package -DskipTests=true -P prod
|
||||
run: ./mvnw clean package -DskipTests=true -P prod
|
||||
- run: docker build sakura-miki:latest
|
||||
|
Loading…
Reference in New Issue
Block a user