GAP-2523: Super admin only grant ownership #656
Workflow file for this run
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 | |
- feature/** | |
- feat/** | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Migration Version Check | |
run: bash ./migration-version-check.sh | |
working-directory: ./git-hooks | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: "17" | |
distribution: "temurin" | |
cache: maven | |
- name: Build with Maven | |
run: AWS_REGION="ew-west-2" 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-admin-backend" | |
path: "." | |
format: "HTML" | |
args: > | |
--enableRetired | |
--disableOssIndex true | |
--disableRetireJS true | |
- name: Upload Test results | |
uses: actions/upload-artifact@master | |
with: | |
name: DependencyCheck report | |
path: ${{github.workspace}}/reports |