From 5e4c3c6200ada2eb850deed40c041ffc4fb03e7b Mon Sep 17 00:00:00 2001 From: Antoine Rey Date: Sat, 17 Sep 2022 13:30:05 +0200 Subject: [PATCH] Add support and CI tests for Java 8 and 17 --- .github/workflows/maven-build.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven-build.yml b/.github/workflows/maven-build.yml index b2099fb2a..b72ab0f94 100644 --- a/.github/workflows/maven-build.yml +++ b/.github/workflows/maven-build.yml @@ -13,13 +13,16 @@ jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + java: [ '8', '11', '17' ] steps: - uses: actions/checkout@v2 - - name: Set up JDK 11 + - name: Set up JDK ${{matrix.java}} uses: actions/setup-java@v2 with: - java-version: '11' + java-version: ${{matrix.java}} distribution: 'adopt' cache: maven - name: Build with Maven