diff --git a/.github/workflows/maven-build.yml b/.github/workflows/maven-build.yml index 13bf81a4c..f8ca4d1c4 100644 --- a/.github/workflows/maven-build.yml +++ b/.github/workflows/maven-build.yml @@ -13,17 +13,14 @@ jobs: build: runs-on: ubuntu-latest - strategy: - matrix: - java: [ '8', '11', '17' ] steps: - - uses: actions/checkout@v2 - - name: Set up JDK ${{matrix.java}} + - uses: actions/checkout@v3 + - name: Set up JDK uses: actions/setup-java@v2 with: - java-version: ${{matrix.java}} - distribution: 'adopt' + java-version: 11 + distribution: 'temurin' cache: maven - name: Build with Maven Wrapper - run: ./mvnw -B package + run: ./mvnw --batch-mode verify diff --git a/pom.xml b/pom.xml index d29355c5f..22024a747 100644 --- a/pom.xml +++ b/pom.xml @@ -15,7 +15,7 @@ - 1.8 + 11 UTF-8 UTF-8