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