Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

Commit d8ed573

Browse files
authored
Update failed.yaml
1 parent 0bec91f commit d8ed573

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/failed.yaml

+3-7
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,7 @@ on:
99
jobs:
1010
fail_job:
1111
runs-on: ubuntu-latest
12-
12+
1313
steps:
14-
- name: Echo Failed Message
15-
run: echo "The workflow has failed."
16-
17-
- name: Set Failed Status
18-
if: failure()
19-
run: echo "::set-output name=status::failed"
14+
- name: Explicitly Fail
15+
run: exit 1

0 commit comments

Comments
 (0)