fix: handle both push and release events for uploads

This commit is contained in:
tkmxqrdxddd
2026-03-17 20:33:46 +01:00
parent e131333c80
commit 5403db806d

View File

@@ -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