github/workflow: update java versions for build and deploy
commit-id:22cd2011
This commit is contained in:
parent
8379dbf02b
commit
4bde3af664
2 changed files with 6 additions and 4 deletions
6
.github/workflows/build-maven.yml
vendored
6
.github/workflows/build-maven.yml
vendored
|
@ -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
|
||||
|
|
4
.github/workflows/deploy-sonatype.yml
vendored
4
.github/workflows/deploy-sonatype.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue