Skip to content

Commit

Permalink
Support JDK 22 on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuki43zoo committed Oct 31, 2023
1 parent a7e4ca9 commit 9812718
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,25 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
java: [17, 21]
java: [17, 21, 22]
distribution: ['zulu']
fail-fast: false
max-parallel: 5
name: Test JDK ${{ matrix.java }}, ${{ matrix.os }}

steps:
- uses: actions/checkout@v4
- name: Set up JDK
- name: Set JDK from jdk.java.net
uses: oracle-actions/setup-java@v1
with:
website: jdk.java.net
release: ${{ matrix.java }}
if: ${{ matrix.java != '17' }}
- name: Set up older JDK
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: ${{ matrix.distribution }}
if: ${{ matrix.java == '17' }}
- name: Test with Maven
run: ./mvnw test -B -D"license.skip=true"

0 comments on commit 9812718

Please sign in to comment.