only update nightlies when requested

Contribute to CURA-10866
This commit is contained in:
jellespijker 2023-09-12 23:07:19 +02:00
parent 87d0550109
commit 933dfb526b

View file

@ -111,7 +111,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: ${{ always() && (! cancelled()) && contains(needs.*.result, 'success') && (! contains(needs.*.result, 'failure')) && (inputs.nightly || github.event_name == 'schedule') }}
if: ${{ inputs.nightly || github.event_name == 'schedule' }}
runs-on: ubuntu-latest
needs: [ windows-installer, linux-installer, macos-installer ]
# needs: [ windows-installer, linux-installer, macos-installer, macos-arm-installer ]