Build PRs on JDK 17 and 21

This commit is contained in:
Alexander Brandes 2023-10-15 19:43:51 +02:00
parent b00a46b286
commit f41453a412
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C

View File

@ -7,15 +7,16 @@ jobs:
strategy: strategy:
matrix: matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ] os: [ ubuntu-latest, windows-latest, macos-latest ]
jdk: [ 17, 21 ]
steps: steps:
- name: Checkout Repository - name: Checkout Repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Validate Gradle Wrapper - name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1 uses: gradle/wrapper-validation-action@v1
- name: Setup Java - name: Setup Java ${{ matrix.jdk }}
uses: actions/setup-java@v3 uses: actions/setup-java@v3
with: with:
distribution: temurin distribution: temurin
java-version: 17 java-version: ${{ matrix.jdk }}
- name: Clean Build - name: Clean Build
run: ./gradlew clean build run: ./gradlew clean build