mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
CI: Avoid skipping nightly builds based on commit status
This commit is contained in:
parent
8146e30d8b
commit
7422cbfbcb
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
|
|
@ -26,7 +26,7 @@ run-name: "[${{ inputs.triggerer && inputs.triggerer || github.event.sender.logi
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
setup:
|
setup:
|
||||||
if: ${{ inputs.nightly-targets == '[]' }}
|
if: ${{ (inputs.nightly-targets == '[]') && (inputs.cpp-std == '') }}
|
||||||
name: Check and set CI commit status
|
name: Check and set CI commit status
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
|
|
@ -86,7 +86,7 @@ jobs:
|
||||||
uses: juce-framework/JUCE-utils/.github/workflows/docs.yml@master
|
uses: juce-framework/JUCE-utils/.github/workflows/docs.yml@master
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
set-commit-status:
|
set-commit-status:
|
||||||
if: ${{ always() && inputs.nightly-targets == '[]' }}
|
if: ${{ always() && (inputs.nightly-targets == '[]') && (inputs.cpp-std == '') }}
|
||||||
needs: [setup, build, deploy, docs]
|
needs: [setup, build, deploy, docs]
|
||||||
name: Set CI commit status
|
name: Set CI commit status
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
@ -102,7 +102,7 @@ jobs:
|
||||||
description: ${{ env.result }}
|
description: ${{ env.result }}
|
||||||
targetUrl: ${{ env.target_url }}
|
targetUrl: ${{ env.target_url }}
|
||||||
notify:
|
notify:
|
||||||
if: ${{ always() && !contains(needs.*.result, 'cancelled') && !startsWith(inputs.triggerer, 'Nightly Build') }}
|
if: ${{ always() && !contains(needs.*.result, 'cancelled') }}
|
||||||
needs: [setup, build, deploy, docs]
|
needs: [setup, build, deploy, 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