Skip to content

Commit

Permalink
Merge pull request #873 from kazuki43zoo/gh-867
Browse files Browse the repository at this point in the history
Switch to temurin as JDK distribution on CI for support JDK 22
  • Loading branch information
kazuki43zoo authored Nov 3, 2023
2 parents 06f07e7 + 4e2a04a commit 9d67080
Showing 1 changed file with 3 additions and 10 deletions.
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"

0 comments on commit 9d67080

Please sign in to comment.