diff --git a/.github/workflows/build-maven.yml b/.github/workflows/build-maven.yml index 367e055a7..abc9ab788 100644 --- a/.github/workflows/build-maven.yml +++ b/.github/workflows/build-maven.yml @@ -8,6 +8,11 @@ on: jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + java: [ '11', '17' ] + + name: Java ${{ matrix.Java }} steps: - name: Checkout uses: actions/checkout@v4 @@ -16,7 +21,7 @@ jobs: uses: actions/setup-java@v3 with: distribution: 'temurin' - java-version: 11 + java-version: ${{ matrix.java }} - name: Cache uses: actions/cache@v3