github/workflows: update actions and setup-java details

commit-id:779a50c3
This commit is contained in:
Paul Campbell 2022-10-07 07:42:24 +01:00
parent 55de923e25
commit 4d72718da4
3 changed files with 21 additions and 9 deletions

View file

@ -11,13 +11,15 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
java: [ 11, 17 ] java: [ 11, 17, 18, 19 ]
steps: steps:
- uses: kamiazya/setup-graphviz@v1 - uses: actions/checkout@v3.1.0
- uses: actions/checkout@v2.3.4
- name: setup-jdk-${{ matrix.java }} - name: setup-jdk-${{ matrix.java }}
uses: actions/setup-java@v1.4.3 uses: actions/setup-java@v3.5.1
with: with:
distribution: 'temurin'
java-version: ${{ matrix.java }} java-version: ${{ matrix.java }}
cache: 'maven'
check-latest: true
- name: build-jar - name: build-jar
run: mvn -B install run: mvn -B install

View file

@ -6,5 +6,13 @@ jobs:
test_dependencies: test_dependencies:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3.1.0
- name: setup-jdk-11
uses: actions/setup-java@v3.5.1
with:
distribution: 'temurin'
java-version: '11'
cache: 'maven'
check-latest: true
- name: check dependencies - name: check dependencies
run: mvn dependency-check:check run: mvn dependency-check:check

View file

@ -9,12 +9,14 @@ jobs:
deploy: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: kamiazya/setup-graphviz@v1 - uses: actions/checkout@v3.1.0
- uses: actions/checkout@v2.3.4 - name: setup-jdk-11
- name: Set up JDK uses: actions/setup-java@v3.5.1
uses: actions/setup-java@v1.4.3
with: with:
java-version: 11 distribution: 'temurin'
java-version: '11'
cache: 'maven'
check-latest: true
- name: Build with Maven - name: Build with Maven
run: mvn -B install run: mvn -B install
- name: Nexus Repo Publish - name: Nexus Repo Publish