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:
parent
f9041f281e
commit
cdbfc7e677
2 changed files with 5 additions and 3 deletions
4
.github/workflows/juce_private_build.yml
vendored
4
.github/workflows/juce_private_build.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue