From 30da76e0fa2e12bbd5dfd323c5a1e31a9a4f1a92 Mon Sep 17 00:00:00 2001 From: Mark Swatosh Date: Fri, 26 Jan 2024 18:31:07 -0600 Subject: [PATCH] Update builds to cover JDK 17 and JDK 21 (#201) * Update builds to cover JDK 17 and JDK 21 * Reset matrix.java-version in ci workflow name --------- Co-authored-by: Scott M Stark --- .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 4daba8dc..1e1f3219 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@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4.0.0 with: - java-version: 21 #${{ matrix.java-version }} + java-version: ${{ matrix.java-version }} distribution: 'temurin' cache: maven - name: Build API