Build PRs on Java 17 and 21

This commit is contained in:
Alexander Brandes 2023-12-02 10:51:34 +01:00
parent 1a18adcd95
commit 7b6747938d
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@v4 uses: actions/setup-java@v4
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