diff --git a/.github/workflows/gradle-build.yml b/.github/workflows/gradle-build.yml index bdb1163..5612a33 100644 --- a/.github/workflows/gradle-build.yml +++ b/.github/workflows/gradle-build.yml @@ -11,12 +11,14 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] + java: [8, 11, 17] runs-on: ${{ matrix.os }} + name: Java ${{ matrix.java }} steps: - uses: actions/checkout@v3 - uses: actions/setup-java@v3 with: distribution: temurin - java-version: 11 + java-version: ${{ matrix.java }} - uses: gradle/gradle-build-action@v2 - run: ./gradlew clean build