From 394945a583296a4e07d140e925005292c9404c76 Mon Sep 17 00:00:00 2001 From: Mark Swatosh Date: Fri, 26 Jan 2024 11:32:09 -0600 Subject: [PATCH] Update builds to cover JDK 17 and JDK 21 --- .github/workflows/ci-pull.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci-pull.yml b/.github/workflows/ci-pull.yml index f111c1d3..7a3d40fb 100644 --- a/.github/workflows/ci-pull.yml +++ b/.github/workflows/ci-pull.yml @@ -13,19 +13,18 @@ permissions: jobs: build: - # TODO Enable strategy for next Jakarta Release Cycle - # strategy: - # matrix: - # java-version: [ '21', '25-ea' ] + strategy: + matrix: + java-version: [ '17', '21' ] runs-on: ubuntu-latest steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - name: Set up JDK 21 #${{ matrix.java-version }} + - name: Set up JDK ${{ matrix.java-version }} uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3.13.0 with: - java-version: 21 #${{ matrix.java-version }} + java-version: ${{ matrix.java-version }} distribution: 'temurin' cache: maven - name: Build API