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