GitHub Actions 1 · Jobs, matrices and conditions
Run a step after a failure
Run cleanup or notifications when an earlier step failed.
- run: ./notify.sh
if: failure()
Official GitHub Actions 1 documentation
More jobs, matrices and conditions commands
- Test across versions
- Run jobs in order
- Run a step conditionally
- Cancel outdated runs
- Start a database for tests
- Pass data between jobs
All jobs, matrices and conditions commands · GitHub Actions 1 cheatsheet