Build .war and npm files #238
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: Build .war and npm files | |
on: | |
workflow_dispatch: | |
inputs: | |
TAG: | |
required: true | |
type: string | |
description: Additional tag to apply to images being built | |
default: latest | |
jobs: | |
build-underwriting-api: | |
uses: ./.github/workflows/build-package.yml | |
secrets: inherit | |
with: | |
TAG: ${{ inputs.tag }} | |
ENVIRONMENT: DEV | |
MICROSERVICE_NAME: cirras-underwriting-api | |
JAVA_VERSION: 17 | |
build-and-upload-npm-modules: | |
uses: ./.github/workflows/build-npm.yml | |
secrets: inherit | |
needs: build-underwriting-api | |
with: | |
ENVIRONMENT: DEV | |
MICROSERVICE_NAME: cirras-underwriting-ngclient-lib | |
API_TARGET: cirras-underwriting-api | |
SWAGGER_TARGET_PATH: cirras-underwriting-ngclient-lib/cirras-underwriting-ngclient-lib/src/main/angular/src/swagger/swagger.json | |
NPM_ARTIFACT_PATH: \@cirras/cirras-underwriting-api/-/@cirras | |
build-underwriting-war: | |
uses: ./.github/workflows/build-package.yml | |
secrets: inherit | |
needs: build-and-upload-npm-modules | |
with: | |
TAG: ${{ inputs.tag }} | |
ENVIRONMENT: DEV | |
MICROSERVICE_NAME: cirras-underwriting-war |