Skip to content

Commit a1622d0

Browse files
committed
Fix multinode break condition checks
1 parent de532a8 commit a1622d0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/multinode.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -362,13 +362,13 @@ jobs:
362362

363363
- name: Break on failure
364364
run: |
365-
sleep ${{ env.break_duration }}m
366-
if: ${{ failure() && steps.config_ach.outcome == 'success' && contains(fromJSON('["failure", "always"]'), env.break_on) }}
365+
sleep ${{ inputs.break_duration }}m
366+
if: ${{ failure() && steps.config_ach.outcome == 'success' && contains(fromJSON('["failure", "always"]'), inputs.break_on) }}
367367

368368
- name: Break on success
369369
run: |
370-
sleep ${{ env.break_duration }}m
371-
if: ${{ steps.config_ach.outcome == 'success' && contains(fromJSON('["success", "always"]'), env.break_on) }}
370+
sleep ${{ inputs.break_duration }}m
371+
if: ${{ steps.config_ach.outcome == 'success' && contains(fromJSON('["success", "always"]'), inputs.break_on) }}
372372

373373
- name: Destroy
374374
run: terraform destroy -auto-approve -input=false

0 commit comments

Comments
 (0)