From 8dd4b4388af08c8e9f7477485ed17fcebf016179 Mon Sep 17 00:00:00 2001 From: Manfred Moser Date: Wed, 21 Aug 2024 12:38:37 -0700 Subject: [PATCH] Run build with Java 21 and 22 --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d77e4ebd8..2c1d62053 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,6 +21,9 @@ env: jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + java-version: [21, 22] timeout-minutes: 20 steps: - name: Checkout source @@ -28,7 +31,7 @@ jobs: - name: Install required Java distribution uses: actions/setup-java@v4 with: - java-version: '21' + java-version: ${{ matrix.java-version }} distribution: 'temurin' - name: Build with Maven run: $MAVEN clean verify