Skip to content

Commit

Permalink
Github actions update
Browse files Browse the repository at this point in the history
  • Loading branch information
vivid-cpreston committed Apr 10, 2024
1 parent 8719bbc commit 488f03d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@ on:

jobs:
build-underwriting-api:
uses: ./.github/actions/build-package
uses: ./.github/workflows/build-package
secrets: inherit
with:
ENVIRONMENT: DEV
MICROSERVICE_NAME: cirras-underwriting-api

build-underwriting-listener-api:
uses: ./.github/actions/build-package
uses: ./.github/workflows/build-package
secrets: inherit
with:
ENVIRONMENT: DEV
MICROSERVICE_NAME: cirras-underwriting-listener-api

build-underwriting-war:
uses: ./.github/actions/build-package
uses: ./.github/workflows/build-package
secrets: inherit
with:
ENVIRONMENT: DEV
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
mvn --settings=settings.xml --batch-mode --update-snapshots -f ${{ inputs.MICROSERVICE_NAME }}/pom.xml -Drepo.login=${{ secrets.IDIR_AS_EMAIL }} -Drepo.password=${{ secrets.IDIR_PASSWORD }} package
- name: Copy files to neccessary folders
run: mkdir staging && cp ${{ inputs.MICROSERVICE_NAME }}/${{ inputs.MICROSERVICE_NAME }}${{ DIRECTORY_SUFFIX }}/target/*.war staging
run: mkdir staging && cp ${{ inputs.MICROSERVICE_NAME }}/${{ inputs.MICROSERVICE_NAME }}${{ env.DIRECTORY_SUFFIX }}/target/*.war staging

- uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 488f03d

Please sign in to comment.