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:
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