ci: change distribution to temurin and change the gradle source to action
Some checks failed
ci / build (17, ubuntu-22.04) (push) Has been cancelled

This commit is contained in:
Wzp-2008 2025-01-12 23:06:16 +08:00
parent f2ec954581
commit 7fda686fc2

View File

@ -15,12 +15,11 @@ jobs:
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'zulu'
- name: make gradle wrapper executable
if: ${{ runner.os != 'Windows' }}
run: chmod +x ./gradlew
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: build
run: ./gradlew clean bootJar
run: gradle clean bootJar
- name: capture build artifacts
uses: actions/upload-artifact@v3
with: