From be6851b16cc2db508075b4c3c0a3b1b8e3cfb1c0 Mon Sep 17 00:00:00 2001 From: Radoslav Husar Date: Fri, 24 Nov 2023 16:29:09 +0100 Subject: [PATCH] CI: temurin build of JDK 22-ea is now available. --- .github/workflows/ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 018277d9..cabb1b32 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,15 +13,14 @@ jobs: matrix: os: [ ubuntu-latest, windows-latest, macos-latest ] # Keep this list as: all supported LTS JDKs, the latest GA JDK, and the latest EA JDK (if available). - java: [ 11, 17, 21 ] + java: [ 11, 17, 21, 22-ea ] steps: - name: Checkout uses: actions/checkout@v4 - name: Set up JDK ${{ matrix.java }} uses: actions/setup-java@v4 with: - # Use 'oracle' distribution for JDK 21 until 'temurin' is available. - distribution: ${{ matrix.java == 21 && 'oracle' || 'temurin' }} + distribution: temurin java-version: ${{ matrix.java }} - name: Cache local Maven repository uses: actions/cache@v3