File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 4949 wait-for-deployment :
5050 runs-on : ubuntu-latest
5151 environment : ${{ inputs.apigee_environment }}
52+ outputs :
53+ # Workaround for environment-level variables being unavailable in `jobs.<job-id>.if`.
54+ RUN_BATCH_E2E_TESTS : ${{ vars.RUN_BATCH_E2E_TESTS }}
5255 steps :
5356 - name : Wait for API to be available
5457 run : |
@@ -183,7 +186,7 @@ jobs:
183186 batch-e2e-tests :
184187 needs : [wait-for-deployment, e2e-tests]
185188 # Only actually depend on wait-for-deployment, but run after e2e-tests
186- if : ${{ !cancelled() && needs.wait-for-deployment.result == 'success' && vars .RUN_BATCH_E2E_TESTS == 'true' }}
189+ if : ${{ !cancelled() && needs.wait-for-deployment.result == 'success' && needs.wait-for-deployment.outputs .RUN_BATCH_E2E_TESTS == 'true' }}
187190 runs-on : ubuntu-latest
188191 environment : ${{ inputs.apigee_environment }}
189192 steps :
You can’t perform that action at this time.
0 commit comments