Don't pass -ea suffix into Gradle as the toolchain version
See gh-39746
This commit is contained in:
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@@ -20,7 +20,8 @@ jobs:
|
|||||||
toolchain: false
|
toolchain: false
|
||||||
- version: 21
|
- version: 21
|
||||||
toolchain: true
|
toolchain: true
|
||||||
- version: 22-ea
|
- version: 22
|
||||||
|
early-access: true
|
||||||
toolchain: true
|
toolchain: true
|
||||||
distribution: temurin
|
distribution: temurin
|
||||||
exclude:
|
exclude:
|
||||||
@@ -36,7 +37,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
distribution: ${{ matrix.java.distribution || 'liberica' }}
|
distribution: ${{ matrix.java.distribution || 'liberica' }}
|
||||||
java-version: |
|
java-version: |
|
||||||
${{ matrix.java.version }}
|
${{ matrix.java.early-access && format('{0}-ea', matrix.java.version) || matrix.java.version }}
|
||||||
${{ matrix.java.toolchain && '17' || '' }}
|
${{ matrix.java.toolchain && '17' || '' }}
|
||||||
- name: Prepare Windows runner
|
- name: Prepare Windows runner
|
||||||
if: ${{ runner.os == 'Windows' }}
|
if: ${{ runner.os == 'Windows' }}
|
||||||
|
|||||||
Reference in New Issue
Block a user