Skip to content

Commit e96460a

Browse files
committed
Fix Java 22 CI
See gh-39746
1 parent e8acbc1 commit e96460a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ jobs:
2020
toolchain: false
2121
- version: 21
2222
toolchain: true
23-
- version: 22
23+
- version: 22-ea
2424
toolchain: true
25+
distribution: temurin
2526
exclude:
2627
- os:
2728
name: Linux
@@ -33,7 +34,7 @@ jobs:
3334
- name: Set up Java
3435
uses: actions/setup-java@v4
3536
with:
36-
distribution: 'liberica'
37+
distribution: ${{ matrix.java.distribution || 'liberica' }}
3738
java-version: |
3839
${{ matrix.java.version }}
3940
${{ matrix.java.toolchain && '17' || '' }}

0 commit comments

Comments
 (0)