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:
parent
d77b34f432
commit
8c1ff91aa3
1 changed files with 3 additions and 3 deletions
6
.github/workflows/juce_private_build.yml
vendored
6
.github/workflows/juce_private_build.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue