diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8331ca065ae..55c06c7278f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,9 +21,7 @@ jobs: - version: 21 toolchain: true - version: 22 - early-access: true toolchain: true - distribution: temurin exclude: - os: name: Linux @@ -35,9 +33,9 @@ jobs: - name: Set up Java uses: actions/setup-java@v4 with: - distribution: ${{ matrix.java.distribution || 'liberica' }} + distribution: liberica java-version: | - ${{ matrix.java.early-access && format('{0}-ea', matrix.java.version) || matrix.java.version }} + ${{ matrix.java.version }} ${{ matrix.java.toolchain && '17' || '' }} - name: Prepare Windows runner if: ${{ runner.os == 'Windows' }}