From 7b6747938d79f4c3351d1e0cee7b87959132ecb7 Mon Sep 17 00:00:00 2001 From: Alexander Brandes Date: Sat, 2 Dec 2023 10:51:34 +0100 Subject: [PATCH] Build PRs on Java 17 and 21 --- .github/workflows/build-pr.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml index 2ac93f1b7..145d09459 100644 --- a/.github/workflows/build-pr.yml +++ b/.github/workflows/build-pr.yml @@ -7,15 +7,16 @@ jobs: strategy: matrix: os: [ ubuntu-latest, windows-latest, macos-latest ] + jdk: [ 17, 21 ] steps: - name: Checkout Repository uses: actions/checkout@v4 - name: Validate Gradle Wrapper uses: gradle/wrapper-validation-action@v1 - - name: Setup Java + - name: Setup Java ${{ matrix.jdk }} uses: actions/setup-java@v4 with: distribution: temurin - java-version: 17 + java-version: ${{ matrix.jdk }} - name: Clean Build run: ./gradlew clean build