From c0e5c6c489d631f98d724033a2801e0097bf3447 Mon Sep 17 00:00:00 2001 From: Ming Wang Date: Fri, 11 Aug 2023 11:24:47 -0400 Subject: [PATCH] jvm version matrix --- .github/workflows/ci.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 001ca1d0..8b9ffc69 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -27,6 +27,9 @@ on: jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + JVM_version: ['11', '17', '21'] if: ${{ github.repository_owner == 'cryostatio' }} steps: - name: Fail if PR and safe-to-test label NOT applied @@ -39,7 +42,7 @@ jobs: submodules: true - uses: actions/setup-java@v2 with: - java-version: '11' + java-version: ${{ matrix.JVM_version }} distribution: 'temurin' - name: maven-settings uses: s4u/maven-settings-action@v2