Skip to content

Commit 9d67080

Browse files
authored
Merge pull request #873 from kazuki43zoo/gh-867
Switch to temurin as JDK distribution on CI for support JDK 22
2 parents 06f07e7 + 4e2a04a commit 9d67080

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,25 +26,18 @@ jobs:
2626
strategy:
2727
matrix:
2828
os: [ubuntu-latest, macOS-latest, windows-latest]
29-
java: [17, 21, 22]
30-
distribution: ['zulu']
29+
java: [17, 21, 22-ea]
30+
distribution: ['temurin']
3131
fail-fast: false
3232
max-parallel: 5
3333
name: Test JDK ${{ matrix.java }}, ${{ matrix.os }}
3434

3535
steps:
3636
- uses: actions/checkout@v4
37-
- name: Set JDK from jdk.java.net
38-
uses: oracle-actions/setup-java@v1
39-
with:
40-
website: jdk.java.net
41-
release: ${{ matrix.java }}
42-
if: ${{ matrix.java != '17' }}
43-
- name: Set up older JDK
37+
- name: Set up JDK
4438
uses: actions/setup-java@v3
4539
with:
4640
java-version: ${{ matrix.java }}
4741
distribution: ${{ matrix.distribution }}
48-
if: ${{ matrix.java == '17' }}
4942
- name: Test with Maven
5043
run: ./mvnw test -B -D"license.skip=true"

0 commit comments

Comments
 (0)