From f41453a41281a1292bdaa9bc7db0675498e59678 Mon Sep 17 00:00:00 2001 From: Alexander Brandes Date: Sun, 15 Oct 2023 19:43:51 +0200 Subject: [PATCH] Build PRs on JDK 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 8b02519b7..c7c90103a 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@v3 with: distribution: temurin - java-version: 17 + java-version: ${{ matrix.jdk }} - name: Clean Build run: ./gradlew clean build