Merge pull request #1539 from ORCID/PD-5972_remove-csv-user-upload-fr… #3477
This file contains hidden or 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
| # This workflow will build a Java project with Maven | |
| # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | |
| name: Java CI with Maven | |
| on: | |
| push: | |
| branches: [ main ] | |
| paths-ignore: | |
| # Ignore workflow changes | |
| - '.github/**' | |
| pull_request: | |
| branches: [ main, backendServicesUpgrades ] | |
| workflow_call: | |
| workflow_dispatch: | |
| jobs: | |
| build-user-service-2: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Harden the runner (Audit all outbound calls) | |
| uses: step-security/harden-runner@8d3c67de8e2fe68ef647c8db1e6a09f647780f40 # v2.19.0 | |
| with: | |
| egress-policy: audit | |
| - uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0 | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@b6e674f4b717d7b0ae3baee0fbe79f498905dfde # v1.4.4 | |
| with: | |
| java-version: 21 | |
| - name: Build User service 2 | |
| run: mvn -B verify -Dsurefire.useFile=false --file user-service-2/pom.xml | |
| build-assertion-service-2: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Harden the runner (Audit all outbound calls) | |
| uses: step-security/harden-runner@8d3c67de8e2fe68ef647c8db1e6a09f647780f40 # v2.19.0 | |
| with: | |
| egress-policy: audit | |
| - uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0 | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@b6e674f4b717d7b0ae3baee0fbe79f498905dfde # v1.4.4 | |
| with: | |
| java-version: 21 | |
| - name: Build Assertion service 2 | |
| run: mvn -B verify -Pprod -Dsurefire.useFile=false --file assertion-service-2/pom.xml | |
| build-member-service-2: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Harden the runner (Audit all outbound calls) | |
| uses: step-security/harden-runner@8d3c67de8e2fe68ef647c8db1e6a09f647780f40 # v2.19.0 | |
| with: | |
| egress-policy: audit | |
| - uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0 | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@b6e674f4b717d7b0ae3baee0fbe79f498905dfde # v1.4.4 | |
| with: | |
| java-version: 21 | |
| - name: Build Member service 2 | |
| run: mvn -B verify -Pprod -Dsurefire.useFile=false --file member-service-2/pom.xml | |