Merge pull request #50 from TarCV/jdk-22 #91
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- main | |
- master | |
- release/* | |
pull_request: | |
branches: | |
- main | |
jobs: | |
validation: | |
strategy: | |
fail-fast: false | |
matrix: | |
jdkVer: [ 17, 21, 22 ] # one year old active LTS JDK, current active LTS JDK, active normal JDKs in the last 12 months | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Gradle Wrapper Validation | |
uses: gradle/actions/wrapper-validation@v3 | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: zulu | |
java-version: ${{ matrix.jdkVer }} | |
# Intentionally don't use Gradle Action | |
# as its caching would make it harder to verify Gradle build under different JDKs | |
- name: Build | |
run: ./gradlew installDist |