Skip to content

Commit 1793d62

Browse files
committed
Get output steps to run despite failure.
1 parent 3cf04fb commit 1793d62

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/plan.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,14 @@ jobs:
7474
working-directory: ./terraform
7575
run: tofu plan -no-color
7676

77-
- run: echo ${{ steps.plan.outputs.stdout }}
78-
- run: echo ${{ steps.plan.outputs.stderr }}
79-
- run: echo ${{ steps.plan.outputs.exitcode }}
77+
- name: Output stdout
78+
if: always()
79+
run: echo ${{ steps.plan.outputs.stdout }}
80+
81+
- name: Output stderr
82+
if: always()
83+
run: echo ${{ steps.plan.outputs.stderr }}
84+
85+
- name: Output exitcode
86+
if: always()
87+
run: echo ${{ steps.plan.outputs.exitcode }}

0 commit comments

Comments
 (0)