Fix publish release condition logic

This commit is contained in:
BtbN 2022-06-13 01:44:36 +02:00
parent 76aacb4b85
commit e57447b1c8

View file

@ -162,7 +162,7 @@ jobs:
path: artifacts/*
publish_release:
name: Publish release
if: ${{ github.event_name == 'schedule' || github.event.inputs.doRelease == 'true' }}
if: ${{ always() && ( github.event_name == 'schedule' || github.event.inputs.doRelease == 'true' ) && needs.build_ffmpeg.result == 'success' }}
needs: build_ffmpeg
runs-on: ubuntu-latest
steps: