Skip to content

Commit 7422cbf

Browse files
committed
CI: Avoid skipping nightly builds based on commit status
1 parent 8146e30 commit 7422cbf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/juce_private_build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ run-name: "[${{ inputs.triggerer && inputs.triggerer || github.event.sender.logi
2626

2727
jobs:
2828
setup:
29-
if: ${{ inputs.nightly-targets == '[]' }}
29+
if: ${{ (inputs.nightly-targets == '[]') && (inputs.cpp-std == '') }}
3030
name: Check and set CI commit status
3131
runs-on: ubuntu-latest
3232
env:
@@ -86,7 +86,7 @@ jobs:
8686
uses: juce-framework/JUCE-utils/.github/workflows/docs.yml@master
8787
secrets: inherit
8888
set-commit-status:
89-
if: ${{ always() && inputs.nightly-targets == '[]' }}
89+
if: ${{ always() && (inputs.nightly-targets == '[]') && (inputs.cpp-std == '') }}
9090
needs: [setup, build, deploy, docs]
9191
name: Set CI commit status
9292
runs-on: ubuntu-latest
@@ -102,7 +102,7 @@ jobs:
102102
description: ${{ env.result }}
103103
targetUrl: ${{ env.target_url }}
104104
notify:
105-
if: ${{ always() && !contains(needs.*.result, 'cancelled') && !startsWith(inputs.triggerer, 'Nightly Build') }}
105+
if: ${{ always() && !contains(needs.*.result, 'cancelled') }}
106106
needs: [setup, build, deploy, docs]
107107
name: Notify
108108
uses: juce-framework/JUCE-utils/.github/workflows/notify.yml@master

0 commit comments

Comments
 (0)