1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-09 23:34:20 +00:00

GHA: Fail the cleanup job if the overall workflow is cancelled or failed

This commit is contained in:
Tom Poole 2025-03-12 09:17:03 +00:00
parent f9041f281e
commit cdbfc7e677
2 changed files with 5 additions and 3 deletions

View file

@ -88,7 +88,9 @@ jobs:
secrets: inherit
cleanup:
if: ${{ always() }}
needs: [setup, build, deploy, docs]
needs: [setup, build, deploy, docs, set-commit-status, notify]
name: Cleanup
uses: juce-framework/JUCE-utils/.github/workflows/cleanup.yml@master
with:
status: ${{ contains(needs.*.result, 'cancelled') && 'cancelled' || (contains(needs.*.result, 'failure') && 'failure' || 'success') }}
secrets: inherit