File tree 1 file changed +9
-4
lines changed
1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 18
18
required : true
19
19
default : ' main'
20
20
type : string
21
+ workflow_ref :
22
+ description : ' Branch containing workflow definitions'
23
+ required : true
24
+ default : ' main'
25
+ type : string
21
26
22
27
jobs :
23
28
call-workflow-1-in-local-repo :
24
29
name : API Build
25
- uses : nitin27may/clean-architecture-docker-dotnet-angular/.github/workflows/api-build.yml@main
30
+ uses : nitin27may/clean-architecture-docker-dotnet-angular/.github/workflows/api-build.yml@${{ github.event.inputs.workflow_ref }}
26
31
with :
27
32
ref : ${{ github.event.inputs.api_branch }}
28
33
secrets : inherit
29
34
30
35
call-workflow-2-in-local-repo :
31
36
name : Frontend Build
32
- uses : nitin27may/clean-architecture-docker-dotnet-angular/.github/workflows/angular-build.yml@main
37
+ uses : nitin27may/clean-architecture-docker-dotnet-angular/.github/workflows/angular-build.yml@${{ github.event.inputs.workflow_ref }}
33
38
with :
34
39
ref : ${{ github.event.inputs.frontend_branch }}
35
40
secrets : inherit
36
41
37
42
call-workflow-3-in-local-repo :
38
43
name : Loadbalancer Build
39
- uses : nitin27may/clean-architecture-docker-dotnet-angular/.github/workflows/loadbalancer.build.yml@main
44
+ uses : nitin27may/clean-architecture-docker-dotnet-angular/.github/workflows/loadbalancer.build.yml@${{ github.event.inputs.workflow_ref }}
40
45
with :
41
46
ref : ${{ github.event.inputs.loadbalancer_branch }}
42
47
secrets : inherit
43
48
44
49
# call-workflow-4-in-local-repo:
45
50
# name: AKS Deployment
46
- # uses: nitin27may/clean-architecture-docker-dotnet-angular/.github/workflows/deployment.yml@main
51
+ # uses: nitin27may/clean-architecture-docker-dotnet-angular/.github/workflows/deployment.yml@${{ github.event.inputs.workflow_ref }}
47
52
# if: ${{ always() }}
48
53
# needs: [call-workflow-1-in-local-repo, call-workflow-2-in-local-repo, call-workflow-3-in-local-repo]
49
54
# secrets: inherit
You can’t perform that action at this time.
0 commit comments