Skip to content

Commit 01ea76a

Browse files
committed
fail actions on failure step
1 parent ad2d97d commit 01ea76a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/precheck-flight-captain.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,10 @@ jobs:
5757
if: ${{ github.event.inputs.rke2_lts_versions != '' }}
5858
run: ./captain.sh -l "${{ github.event.inputs.rke2_lts_versions }}" -d
5959
shell: sh
60+
61+
- name: Check for previous failures
62+
if: failure()
63+
run: |
64+
echo "One or more steps failed, marking job as failed."
65+
exit 1
66+

0 commit comments

Comments
 (0)