diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index d0c2ed6..586b4f5 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -19,7 +19,7 @@ jobs: strategy: matrix: java: [ - 21 + 22 ] os: [ ubuntu-latest, windows-latest ] runs-on: ${{ matrix.os }} @@ -30,6 +30,7 @@ jobs: with: java-version: | ${{ matrix.java }} + 21 distribution: 'temurin' - name: Grant execute permission for gradlew if: ${{ runner.os != 'Windows' }} @@ -39,14 +40,14 @@ jobs: - name: Execute Gradle build run: ./gradlew build - name: Upload build reports - if: ${{ runner.os == 'Linux' && matrix.java == '21' && failure() }} + if: ${{ runner.os == 'Linux' && matrix.java == '22' && failure() }} uses: actions/upload-artifact@v4 with: name: build-reports path: | build/reports/ - name: Capture build artifacts - if: ${{ runner.os == 'Linux' && matrix.java == '21' }} + if: ${{ runner.os == 'Linux' && matrix.java == '22' }} uses: actions/upload-artifact@v4 with: name: Artifacts