Skip to content

Commit

Permalink
[ci] Owasp check: add branch-2.10 and fix JDK version for each branch (
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoloboschi authored May 19, 2022
1 parent 70551a6 commit bfa9e78
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci-owasp-dependency-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ jobs:
include:
- name: master
checkout_branch: 'master'
- name: branch-2.10
checkout_branch: 'branch-2.10'
- name: branch-2.9
checkout_branch: 'branch-2.9'
- name: branch-2.8
Expand Down Expand Up @@ -64,11 +66,19 @@ jobs:
${{ runner.os }}-m2-dependencies-core-modules-
- name: Set up JDK 17
if: ${{ matrix.name != "branch-2.8" && matrix.name != "branch-2.9" && matrix.name != "branch-2.10" }}
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: 17

- name: Set up JDK 11
if: ${{ matrix.name == "branch-2.8" || matrix.name == "branch-2.9" || matrix.name == "branch-2.10" }}
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: 11

- name: run install by skip tests
run: mvn -q -B -ntp clean install -DskipTests

Expand Down

0 comments on commit bfa9e78

Please sign in to comment.