From 46a06d166a8e5b2efe82f3fc96eef29111f8c0d3 Mon Sep 17 00:00:00 2001 From: Jake Wang Date: Thu, 5 Dec 2024 14:44:37 +0800 Subject: [PATCH] Fixed github action config --- .github/workflows/gradle.yml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index c8440c7..78fd2dc 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -15,13 +15,14 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - name: Set up JDK 11 - uses: actions/setup-java@v2 - with: - distribution: 'zulu' - java-version: 11 - - name: Grant execute permission for gradlew - run: chmod +x gradlew - - name: Build with Gradle - run: ./gradlew clean build --warning-mode all + - uses: actions/checkout@v4 + - name: Set up JDK 17 + uses: actions/setup-java@v2 + with: + distribution: 'zulu' + java-version: 17 + + - name: Grant execute permission for gradlew + run: chmod +x gradlew + - name: Build with Gradle + run: ./gradlew clean build --warning-mode all