Should run nightly part even if some OS is skipped.

part of CURA-9494
This commit is contained in:
Remco Burema 2023-09-07 22:15:30 +02:00
parent e9fe6b9831
commit e1f2424f0e

View File

@ -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: