Downgrade Java to 17 for JBA plugin backward compatibility #88
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
name: Checks | |
on: [ push ] | |
jobs: | |
tests: | |
name: Run tests for Java ${{ matrix.version }} | |
runs-on: [ self-hosted, small ] | |
strategy: | |
fail-fast: false | |
matrix: | |
version: | |
- 21 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Java ${{ matrix.version }} | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: '${{ matrix.version }}' | |
cache: 'gradle' | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: Run tests | |
run: ./gradlew test --rerun-tasks --info |