Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Switch to temurin as JDK distribution on CI for support JDK 22
Fixes gh-867
  • Loading branch information
kazuki43zoo committed Nov 3, 2023
commit 4e2a04adf13f7586e46b7384bbee615b013fc2d5
13 changes: 3 additions & 10 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,25 +26,18 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
java: [17, 21, 22]
distribution: ['zulu']
java: [17, 21, 22-ea]
distribution: ['temurin']
fail-fast: false
max-parallel: 5
name: Test JDK ${{ matrix.java }}, ${{ matrix.os }}

steps:
- uses: actions/checkout@v4
- 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
- name: Set up 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"