diff --git a/.github/workflows/build-maven.yml b/.github/workflows/build-maven.yml index 42752bc..8a5c181 100644 --- a/.github/workflows/build-maven.yml +++ b/.github/workflows/build-maven.yml @@ -11,13 +11,15 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: [ 11, 16, 17-ea ] + # only needs to be able to run builder module, other outputs are xml + # latest-lts + java: [ 17 ] steps: - uses: actions/checkout@v3.1.0 - name: setup-jdk-${{ matrix.java }} uses: actions/setup-java@v2.3.0 with: - distribution: 'adopt' + distribution: 'temurin' java-version: ${{ matrix.java }} cache: maven - name: build-jar diff --git a/.github/workflows/deploy-sonatype.yml b/.github/workflows/deploy-sonatype.yml index 0807205..8a80c4d 100644 --- a/.github/workflows/deploy-sonatype.yml +++ b/.github/workflows/deploy-sonatype.yml @@ -13,8 +13,8 @@ jobs: - name: Set up JDK uses: actions/setup-java@v2.3.0 with: - distribution: 'adopt' - java-version: 11 + distribution: 'temurin' + java-version: 17 cache: maven - name: Build with Maven run: mvn -B install