Browse Source

Don't pass -ea suffix into Gradle as the toolchain version

See gh-39746
pull/39958/head
Andy Wilkinson 2 years ago
parent
commit
b8a6cab716
  1. 5
      .github/workflows/ci.yml

5
.github/workflows/ci.yml

@ -20,7 +20,8 @@ jobs: @@ -20,7 +20,8 @@ jobs:
toolchain: false
- version: 21
toolchain: true
- version: 22-ea
- version: 22
early-access: true
toolchain: true
distribution: temurin
exclude:
@ -36,7 +37,7 @@ jobs: @@ -36,7 +37,7 @@ jobs:
with:
distribution: ${{ matrix.java.distribution || 'liberica' }}
java-version: |
${{ matrix.java.version }}
${{ matrix.java.early-access && format('{0}-ea', matrix.java.version) || matrix.java.version }}
${{ matrix.java.toolchain && '17' || '' }}
- name: Prepare Windows runner
if: ${{ runner.os == 'Windows' }}

Loading…
Cancel
Save