github/workflow: update java versions for build and deploy

commit-id:22cd2011
This commit is contained in:
Paul Campbell 2022-10-12 07:06:32 +01:00
parent 8379dbf02b
commit 4bde3af664
2 changed files with 6 additions and 4 deletions

View file

@ -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

View file

@ -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