Skip to content

Commit 53b96db

Browse files
committed
GHA: Fix nightly build notifications
1 parent 4362f9e commit 53b96db

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/juce_private_build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
context: CI
3939
targetUrl: ${{ env.target_url }}
4040
build:
41+
if: ${{ always() && (needs.setup.result == 'success' || needs.setup.result == 'skipped') }}
4142
needs: [setup]
4243
name: .
4344
# Not having the ability to do a dynamic 'uses' call is a real pain. To
@@ -78,7 +79,7 @@ jobs:
7879
description: ${{ env.result }}
7980
targetUrl: ${{ env.target_url }}
8081
notify:
81-
if: ${{ always() && !contains(needs.*.result, 'cancelled') && inputs.nightly-targets == '[]' }}
82+
if: ${{ always() && !contains(needs.*.result, 'cancelled') && !startsWith(inputs.triggerer, 'Nightly Build') }}
8283
needs: [setup, build, deploy, docs]
8384
name: Notify
8485
uses: juce-framework/JUCE-utils/.github/workflows/notify.yml@master

.github/workflows/juce_private_nightly_trigger.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ env:
88
jobs:
99
juce-private-nightly-trigger:
1010
if: github.repository == 'juce-framework/JUCE-dev'
11-
name: JUCE Push Trigger
11+
name: JUCE Nightly Trigger
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/[email protected]

0 commit comments

Comments
 (0)