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 }}
|
cpp-std: ${{ inputs.cpp-std }}
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
deploy:
|
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]
|
needs: [build]
|
||||||
name: Deploy
|
name: Deploy
|
||||||
uses: juce-framework/JUCE-utils/.github/workflows/deploy.yml@master
|
uses: juce-framework/JUCE-utils/.github/workflows/deploy.yml@master
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
docs:
|
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]
|
needs: [deploy]
|
||||||
name: Docs
|
name: Docs
|
||||||
uses: juce-framework/JUCE-utils/.github/workflows/docs.yml@master
|
uses: juce-framework/JUCE-utils/.github/workflows/docs.yml@master
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
notify:
|
notify:
|
||||||
if: ${{ always() && inputs.nightly-targets == '[]' }}
|
if: ${{ !(cancelled() || failure()) && inputs.nightly-targets == '[]' }}
|
||||||
needs: [docs]
|
needs: [docs]
|
||||||
name: Notify
|
name: Notify
|
||||||
uses: juce-framework/JUCE-utils/.github/workflows/notify.yml@master
|
uses: juce-framework/JUCE-utils/.github/workflows/notify.yml@master
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue