测试CI-CD脚本
Some checks failed
Java CI with Maven / build (push) Failing after 20m47s

This commit is contained in:
zhangyuheng 2023-12-07 11:29:04 +08:00
parent 4ce21637ca
commit 7a7a47e8de

View File

@ -13,7 +13,8 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: https://ssl.lunadeer.cn:14446/actions/checkout@v3 - name: "Pull & Checkout"
uses: https://ssl.lunadeer.cn:14446/actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- name: "Set up Maven" - name: "Set up Maven"
@ -22,7 +23,7 @@ jobs:
uses: https://ssl.lunadeer.cn:14446/actions/setup-java@v3 uses: https://ssl.lunadeer.cn:14446/actions/setup-java@v3
with: with:
java-version: '17' java-version: '17'
distribution: 'temurin' distribution: 'zulu'
cache: maven cache: maven
- name: "Build with Maven" - name: "Build with Maven"
run: mvn -B package --file pom.xml run: mvn -B package --file pom.xml