mirror of
https://github.com/tkmxqrdxddd/davinci-video-converter
synced 2026-03-29 23:35:32 +02:00
fix: update release workflows to use artifacts and proper triggers
- Change release.yml to trigger on tag push instead of release event - Remove problematic release upload from ci-cd.yml - Use upload-artifact instead for package artifacts
This commit is contained in:
9
.github/workflows/ci-cd.yml
vendored
9
.github/workflows/ci-cd.yml
vendored
@@ -153,9 +153,8 @@ jobs:
|
||||
run: |
|
||||
dpkg-deb --build debian davinci-video-converter_${GITHUB_REF#refs/tags/}_${{ matrix.arch }}.deb
|
||||
|
||||
- name: Upload to Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
- name: Upload DEB package as artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
files: davinci-video-converter_*.deb
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
name: davinci-video-converter-${{ matrix.arch }}.deb
|
||||
path: davinci-video-converter_*.deb
|
||||
|
||||
18
.github/workflows/release.yml
vendored
18
.github/workflows/release.yml
vendored
@@ -1,8 +1,9 @@
|
||||
name: Release Pipeline
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [published, created]
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
|
||||
jobs:
|
||||
release:
|
||||
@@ -73,9 +74,16 @@ jobs:
|
||||
run: |
|
||||
dpkg-deb --build debian davinci-video-converter_${GITHUB_REF#refs/tags/}_${{ matrix.arch }}.deb
|
||||
|
||||
- name: Upload to Release
|
||||
- name: Upload DEB package as artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: davinci-video-converter-${{ matrix.arch }}.deb
|
||||
path: davinci-video-converter_*.deb
|
||||
|
||||
- name: Create Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
files: davinci-video-converter_*.deb
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
draft: false
|
||||
prerelease: false
|
||||
|
||||
Reference in New Issue
Block a user