Skip to content

Commit ef9b99a

Browse files
committed
Remove unnecessary checks
1 parent 0692d32 commit ef9b99a

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/run_release_code_and_api.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,7 @@ jobs:
260260
- name: Deploy PSU API
261261
shell: bash
262262
working-directory: .github/scripts
263-
if: ${{ inputs.DEPLOY_APIGEE == true && always() && !failure() && !cancelled()
264-
}}
263+
if: ${{ inputs.DEPLOY_APIGEE == true }}
265264
env:
266265
API_TYPE: standard
267266
VERSION_NUMBER: ${{ inputs.VERSION_NUMBER }}
@@ -283,8 +282,7 @@ jobs:
283282
- name: Deploy CPSU API
284283
shell: bash
285284
working-directory: .github/scripts
286-
if: ${{ inputs.DEPLOY_APIGEE_CPSU == true && always() && !failure() &&
287-
!cancelled() }}
285+
if: ${{ inputs.DEPLOY_APIGEE_CPSU == true }}
288286
env:
289287
API_TYPE: custom
290288
VERSION_NUMBER: ${{ inputs.VERSION_NUMBER }}
@@ -328,8 +326,7 @@ jobs:
328326
VERSION_NUMBER: ${{ inputs.VERSION_NUMBER }}
329327

330328
regression_tests:
331-
if: ${{ inputs.RUN_REGRESSION_TEST == true && always() && !failure() &&
332-
!cancelled() }}
329+
if: ${{ inputs.RUN_REGRESSION_TEST == true }}
333330
name: Regression Tests
334331
uses: ./.github/workflows/run_regression_tests.yml
335332
needs: release_code_and_api

0 commit comments

Comments
 (0)