github/workflows: update actions and setup-java details
commit-id:779a50c3
This commit is contained in:
parent
55de923e25
commit
4d72718da4
3 changed files with 21 additions and 9 deletions
10
.github/workflows/build-maven.yml
vendored
10
.github/workflows/build-maven.yml
vendored
|
@ -11,13 +11,15 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
java: [ 11, 17 ]
|
||||
java: [ 11, 17, 18, 19 ]
|
||||
steps:
|
||||
- uses: kamiazya/setup-graphviz@v1
|
||||
- uses: actions/checkout@v2.3.4
|
||||
- uses: actions/checkout@v3.1.0
|
||||
- name: setup-jdk-${{ matrix.java }}
|
||||
uses: actions/setup-java@v1.4.3
|
||||
uses: actions/setup-java@v3.5.1
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: ${{ matrix.java }}
|
||||
cache: 'maven'
|
||||
check-latest: true
|
||||
- name: build-jar
|
||||
run: mvn -B install
|
||||
|
|
8
.github/workflows/dependency-check.yml
vendored
8
.github/workflows/dependency-check.yml
vendored
|
@ -6,5 +6,13 @@ jobs:
|
|||
test_dependencies:
|
||||
runs-on: ubuntu-latest
|
||||
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
|
||||
run: mvn dependency-check:check
|
||||
|
|
12
.github/workflows/deploy-sonatype.yml
vendored
12
.github/workflows/deploy-sonatype.yml
vendored
|
@ -9,12 +9,14 @@ jobs:
|
|||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: kamiazya/setup-graphviz@v1
|
||||
- uses: actions/checkout@v2.3.4
|
||||
- name: Set up JDK
|
||||
uses: actions/setup-java@v1.4.3
|
||||
- uses: actions/checkout@v3.1.0
|
||||
- name: setup-jdk-11
|
||||
uses: actions/setup-java@v3.5.1
|
||||
with:
|
||||
java-version: 11
|
||||
distribution: 'temurin'
|
||||
java-version: '11'
|
||||
cache: 'maven'
|
||||
check-latest: true
|
||||
- name: Build with Maven
|
||||
run: mvn -B install
|
||||
- name: Nexus Repo Publish
|
||||
|
|
Loading…
Reference in a new issue