From bbde7167b63ed096105c650b21735f6997eebfa6 Mon Sep 17 00:00:00 2001 From: Johnathan Gilday Date: Mon, 20 Mar 2023 21:45:06 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20build=20for=20java=2011=20only?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/maven-build.yml | 13 +++++-------- pom.xml | 2 +- 2 files changed, 6 insertions(+), 9 deletions(-) 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