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

GHA: Conditionally notify workflow success

This commit is contained in:
Tom Poole 2025-03-06 11:00:51 +00:00
parent d77b34f432
commit 8c1ff91aa3

View file

@ -35,19 +35,19 @@ jobs:
cpp-std: ${{ inputs.cpp-std }}
secrets: inherit
deploy:
if: ${{ contains(fromJSON('["master", "develop"]'), github.ref_name) && inputs.nightly-targets == '[]' }}
if: ${{ 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
secrets: inherit
docs:
if: ${{ contains(fromJSON('["master", "develop"]'), github.ref_name) && inputs.nightly-targets == '[]' }}
if: ${{ contains(fromJSON('["master", "develop"]'), github.ref_name) && inputs.cpp-std == '' && inputs.nightly-targets == '[]' }}
needs: [deploy]
name: Docs
uses: juce-framework/JUCE-utils/.github/workflows/docs.yml@master
secrets: inherit
notify:
if: ${{ always() && inputs.nightly-targets == '[]' }}
if: ${{ !(cancelled() || failure()) && inputs.nightly-targets == '[]' }}
needs: [docs]
name: Notify
uses: juce-framework/JUCE-utils/.github/workflows/notify.yml@master