fix(ci): separate release action steps for push vs workflow_dispatch in build.yml

This commit is contained in:
Dushnilin
2026-08-09 08:59:18 +03:00
parent 54f7b5b351
commit 3eeee56f2e
+5 -5
View File
@@ -87,8 +87,8 @@ jobs:
name: release-files-${{ needs.preparation.outputs.version }} name: release-files-${{ needs.preparation.outputs.version }}
path: ./filtered-bin/release path: ./filtered-bin/release
- name: Release - name: Release on tag push
if: ${{ github.event_name == 'push' || inputs.release_notes == '' }} if: ${{ github.event_name == 'push' }}
uses: softprops/action-gh-release@v2 uses: softprops/action-gh-release@v2
with: with:
files: ./filtered-bin/release/*.* files: ./filtered-bin/release/*.*
@@ -99,9 +99,9 @@ jobs:
tag_name: ${{ needs.preparation.outputs.version }} tag_name: ${{ needs.preparation.outputs.version }}
target_commitish: ${{ needs.preparation.outputs.commitish }} target_commitish: ${{ needs.preparation.outputs.commitish }}
- name: Release with notes - name: Release on workflow dispatch
if: ${{ github.event_name == 'workflow_dispatch' && inputs.release_notes != '' }} if: ${{ github.event_name == 'workflow_dispatch' }}
uses: softprops/action-gh-release@v2.4.0 uses: softprops/action-gh-release@v2
with: with:
files: ./filtered-bin/release/*.* files: ./filtered-bin/release/*.*
draft: false draft: false