Always
Success
Just add
if: always()to it.
- name: Cleanup Something
if: always() # This makes it always execute
run: make cleanup-somethingOn Failure
Success
Just add
if: failure()to it.
- name: Cleanup Something
if: failure() # This makes it execute if there was a failure in the stage
run: make cleanup-something