From 7fda686fc297db42d0f68dbf636c45fd8e9388c0 Mon Sep 17 00:00:00 2001 From: Wzp-2008 Date: Sun, 12 Jan 2025 23:06:16 +0800 Subject: [PATCH] ci: change distribution to temurin and change the gradle source to action --- .github/workflows/ci.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fb4c0e8..e94bbbc 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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: