From 5403db806de4edf34a0e32d43c7c0e200b51cbad Mon Sep 17 00:00:00 2001 From: tkmxqrdxddd Date: Tue, 17 Mar 2026 20:33:46 +0100 Subject: [PATCH] fix: handle both push and release events for uploads --- .github/workflows/release.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 54a7475..64e788e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,6 +4,8 @@ on: push: tags: - 'v*' + release: + types: [published] jobs: release: @@ -81,6 +83,14 @@ jobs: path: davinci-video-converter_*.deb - name: Upload DEB package to Release + if: github.event_name == 'push' + uses: softprops/action-gh-release@v1 + with: + files: davinci-video-converter_*.deb + tag_name: ${{ github.ref_name }} + + - name: Upload DEB package to existing Release + if: github.event_name == 'release' uses: softprops/action-gh-release@v1 with: files: davinci-video-converter_*.deb