From 7422cbfbcbeb39f13e508d5b0f73110b1675d9ce Mon Sep 17 00:00:00 2001 From: Tom Poole Date: Mon, 15 Sep 2025 10:13:23 +0100 Subject: [PATCH] CI: Avoid skipping nightly builds based on commit status --- .github/workflows/juce_private_build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/juce_private_build.yml b/.github/workflows/juce_private_build.yml index 36d8234da6..206c86fa37 100644 --- a/.github/workflows/juce_private_build.yml +++ b/.github/workflows/juce_private_build.yml @@ -26,7 +26,7 @@ run-name: "[${{ inputs.triggerer && inputs.triggerer || github.event.sender.logi jobs: setup: - if: ${{ inputs.nightly-targets == '[]' }} + if: ${{ (inputs.nightly-targets == '[]') && (inputs.cpp-std == '') }} name: Check and set CI commit status runs-on: ubuntu-latest env: @@ -86,7 +86,7 @@ jobs: uses: juce-framework/JUCE-utils/.github/workflows/docs.yml@master secrets: inherit set-commit-status: - if: ${{ always() && inputs.nightly-targets == '[]' }} + if: ${{ always() && (inputs.nightly-targets == '[]') && (inputs.cpp-std == '') }} needs: [setup, build, deploy, docs] name: Set CI commit status runs-on: ubuntu-latest @@ -102,7 +102,7 @@ jobs: description: ${{ env.result }} targetUrl: ${{ env.target_url }} notify: - if: ${{ always() && !contains(needs.*.result, 'cancelled') && !startsWith(inputs.triggerer, 'Nightly Build') }} + if: ${{ always() && !contains(needs.*.result, 'cancelled') }} needs: [setup, build, deploy, docs] name: Notify uses: juce-framework/JUCE-utils/.github/workflows/notify.yml@master