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: |
|
run: |
|
||||||
dpkg-deb --build debian davinci-video-converter_${GITHUB_REF#refs/tags/}_${{ matrix.arch }}.deb
|
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: softprops/action-gh-release@v1
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
files: davinci-video-converter_*.deb
|
name: davinci-video-converter-${{ matrix.arch }}.deb
|
||||||
env:
|
path: davinci-video-converter_*.deb
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|||||||
18
.github/workflows/release.yml
vendored
18
.github/workflows/release.yml
vendored
@@ -1,8 +1,9 @@
|
|||||||
name: Release Pipeline
|
name: Release Pipeline
|
||||||
|
|
||||||
on:
|
on:
|
||||||
release:
|
push:
|
||||||
types: [published, created]
|
tags:
|
||||||
|
- 'v*'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
@@ -73,9 +74,16 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
dpkg-deb --build debian davinci-video-converter_${GITHUB_REF#refs/tags/}_${{ matrix.arch }}.deb
|
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
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
files: davinci-video-converter_*.deb
|
files: davinci-video-converter_*.deb
|
||||||
env:
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
draft: false
|
||||||
|
prerelease: false
|
||||||
|
|||||||
Reference in New Issue
Block a user