From e57447b1c876dc0f55881bfc5f7a3927bfe60b0a Mon Sep 17 00:00:00 2001 From: BtbN Date: Mon, 13 Jun 2022 01:44:36 +0200 Subject: [PATCH] Fix publish release condition logic --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9c7a96a..1b8b776 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: