diff --git a/.github/workflows/installers.yml b/.github/workflows/installers.yml index 2fc4b76d41..3b77fa7697 100644 --- a/.github/workflows/installers.yml +++ b/.github/workflows/installers.yml @@ -106,7 +106,7 @@ jobs: # Run and update nightly release when the nightly input is set to true or if the schedule is triggered update-nightly-release: - if: ${{ inputs.nightly || github.event_name == 'schedule' }} + if: ${{ always() && (! cancelled()) && contains(needs.*.result, 'success') && (! contains(needs.*.result, 'failure')) && (inputs.nightly || github.event_name == 'schedule') }} runs-on: ubuntu-latest needs: [ windows-installer, linux-modern-installer, linux-legacy-installer, macos-installer, macos-arm-installer ] steps: