Skip to content

Commit

Permalink
add post-failure workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeFalourd committed Dec 12, 2023
1 parent c2459bc commit 7b0ae42
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/70-post-failure.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: 70 - Post Failure

on:
workflow_dispatch:

jobs:
force-failure:
runs-on: ubuntu-latest
steps:
- name: Force job failure
run: exit 1

post-failure:
runs-on: ubuntu-latest
if: failure()
steps:
- name: Do something
run: echo "Do something"

0 comments on commit 7b0ae42

Please sign in to comment.