File tree Expand file tree Collapse file tree 6 files changed +81
-3045
lines changed
Expand file tree Collapse file tree 6 files changed +81
-3045
lines changed Original file line number Diff line number Diff line change @@ -145,6 +145,22 @@ jobs:
145145 infrastructure/swagger/dist/apigee/swagger.yaml
146146 if : ${{ always() }}
147147
148+ swagger--publish :
149+ needs : [get-branch-from-workflow-file, apigee--deploy]
150+ runs-on : [self-hosted, ci]
151+ steps :
152+ - uses : actions/checkout@v4
153+ with :
154+ ref : ${{ needs.get-branch-from-workflow-file.outputs.branch_name }}
155+ # change below to (env.ACCOUNT == 'int') || (env.ACCOUNT == 'prod') when ready for prod
156+ - if : (${{ env.SCOPE == 'per_workspace'}}) && (${{ env.ACCOUNT == 'int' }})
157+ uses : ./.github/actions/make/
158+ with :
159+ command : swagger--publish
160+ requires-aws : true
161+ restore-from-cache : " true"
162+ cache-suffix : ${{ env.CACHE_NAME }}
163+
148164 test--smoke :
149165 needs : [get-branch-from-workflow-file, apigee--deploy]
150166 runs-on : [self-hosted, ci]
@@ -162,7 +178,7 @@ jobs:
162178
163179 set-success :
164180 name : Set Success
165- needs : [test--smoke]
181+ needs : [test--smoke, apigee--deploy ]
166182 runs-on : [self-hosted, ci]
167183 steps :
168184 - name : Set success env var
You can’t perform that action at this time.
0 commit comments