Skip to content

Commit

Permalink
Test against LTS versions of Java and the upcoming ones
Browse files Browse the repository at this point in the history
  • Loading branch information
rm3l committed Oct 21, 2023
1 parent f350694 commit 2b5db44
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,25 @@ jobs:

name: Test on JDK ${{ matrix.jdk_version }}

runs-on: ubuntu-20.04
runs-on: ubuntu-latest

continue-on-error: ${{ matrix.experimental }}

strategy:
fail-fast: false
matrix:
jdk_version: [ '11', '12', '13', '14', '15', '16', '17' ]
jdk_version: [ '11', '17', '21' ]
experimental: [false]
include:
- jdk_version: 18-ea
- jdk_version: 22-ea
experimental: true

steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.jdk_version }}
uses: actions/setup-java@v3
with:
distribution: 'zulu'
distribution: 'temurin'
java-version: ${{ matrix.jdk_version }}
cache: 'gradle'
- name: Build with Gradle
Expand All @@ -45,7 +45,7 @@ jobs:
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
needs: build

runs-on: ubuntu-20.04
runs-on: ubuntu-latest

steps:

Expand Down

0 comments on commit 2b5db44

Please sign in to comment.