TMI2-663: set CHN and CCN as null if orgType of the submission is Local authority, Individual or Other #252
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Java CI with Maven | |
on: | |
pull_request: | |
branches: | |
- develop | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: "17" | |
distribution: "temurin" | |
cache: maven | |
- name: Build with Maven | |
run: mvn -B package --file pom.xml | |
- name: DependencyCheck | |
uses: dependency-check/Dependency-Check_Action@main | |
env: | |
JAVA_HOME: /opt/jdk | |
id: DependencyCheck | |
with: | |
project: "GAP-apply-applicant-backend" | |
path: "." | |
format: "HTML" | |
args: > | |
--enableRetired | |
--disableOssIndex true | |
- name: Upload Test results | |
uses: actions/upload-artifact@master | |
with: | |
name: DependencyCheck report | |
path: ${{github.workspace}}/reports |