diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index bfdedc69..873d2a75 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -26,6 +26,7 @@ jobs: matrix: os: [ubuntu-latest, windows-latest, macOS-latest] java: [8, 11, 16, 17-ea] + jdk: [adopt-hotspot, zulu, adopt-openj9] fail-fast: false runs-on: ${{ matrix.os }} @@ -44,8 +45,9 @@ jobs: maven-${{ matrix.os }}- - name: Set up JDK - uses: actions/setup-java@v1 + uses: actions/setup-java@v2.1.0 with: + distribution: ${{ matrix.jdk }} java-version: ${{ matrix.java }} - name: Build with Maven