fix(ci): fix release step execution condition for tag push events in build.yml

This commit is contained in:
Dushnilin
2026-08-09 08:58:36 +03:00
parent 071f72fe43
commit 54f7b5b351
+2 -2
View File
@@ -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/*.*