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

CI: Don't unconditionally skip the deploy job if the build job was skipped

This commit is contained in:
Tom Poole 2025-06-16 13:42:57 +01:00
parent ca10a2c56b
commit 6bee9d515c

View file

@ -74,7 +74,7 @@ jobs:
cpp-std: ${{ inputs.cpp-std }}
secrets: inherit
deploy:
if: ${{ contains(fromJSON('["master", "develop"]'), github.ref_name) && inputs.cpp-std == '' && inputs.nightly-targets == '[]' }}
if: ${{ !cancelled() && (success() || needs.build.result == 'skipped') && contains(fromJSON('["master", "develop"]'), github.ref_name) && inputs.cpp-std == '' && inputs.nightly-targets == '[]' }}
needs: [build]
name: Deploy
uses: juce-framework/JUCE-utils/.github/workflows/deploy.yml@master