diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 3a1f1780..a4445077 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -12,12 +12,18 @@ jobs: runs-on: "${{ matrix.os }}" steps: - uses: actions/checkout@v4 - - uses: gradle/actions/wrapper-validation@v3 - - name: Set up JDK 21 + - name: Set up JDK 17 uses: actions/setup-java@v4 with: - java-version: '21' + java-version: '17' distribution: 'zulu' cache: 'gradle' + - name: Set up JDK 21 + uses: actions/setup-java@v4 + with: + java-version: '21' + distribution: 'zulu' + cache: 'gradle' + - uses: gradle/actions/wrapper-validation@v3 - name: Build with Gradle run: ./gradlew clean build