-
Notifications
You must be signed in to change notification settings - Fork 1
42 lines (36 loc) · 1.15 KB
/
build-dev.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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