From 54f7b5b351cc04778191d6c8987cf64fc3824ca2 Mon Sep 17 00:00:00 2001 From: Dushnilin Date: Sun, 9 Aug 2026 08:58:36 +0300 Subject: [PATCH] fix(ci): fix release step execution condition for tag push events in build.yml --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 41f3fda0..f4c65bfd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -88,7 +88,7 @@ jobs: path: ./filtered-bin/release - name: Release - if: ${{ inputs.release_notes == '' }} + if: ${{ github.event_name == 'push' || inputs.release_notes == '' }} uses: softprops/action-gh-release@v2 with: files: ./filtered-bin/release/*.* @@ -100,7 +100,7 @@ jobs: target_commitish: ${{ needs.preparation.outputs.commitish }} - name: Release with notes - if: ${{ inputs.release_notes != '' }} + if: ${{ github.event_name == 'workflow_dispatch' && inputs.release_notes != '' }} uses: softprops/action-gh-release@v2.4.0 with: files: ./filtered-bin/release/*.*