From e98fc72d9df23ee7b561ff142a302aede113e49b Mon Sep 17 00:00:00 2001 From: Tim van Dijen Date: Thu, 26 Oct 2023 11:00:06 +0200 Subject: [PATCH] Fix condition --- .github/workflows/build-release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 0aa3750..99aa5df 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -132,7 +132,10 @@ jobs: name: Determine next version runs-on: ['ubuntu-latest'] needs: build - if: needs.build.outputs.files_changed == 'true' && github.event_name == 'push' + if: | + always() && + needs.build.outputs.files_changed == 'true' && + (github.event_name == 'push' || github.event_name == 'workflow_dispatch') outputs: version: ${{ steps.asset_version.outputs.version }}