Skip to content

Commit

Permalink
Update failed.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
setchy authored Feb 15, 2024
1 parent 0bec91f commit d8ed573
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/failed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,7 @@ on:
jobs:
fail_job:
runs-on: ubuntu-latest

steps:
- name: Echo Failed Message
run: echo "The workflow has failed."

- name: Set Failed Status
if: failure()
run: echo "::set-output name=status::failed"
- name: Explicitly Fail
run: exit 1

0 comments on commit d8ed573

Please sign in to comment.