-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2029 from tino097/updating-workflow-debian-package
Add building deb package
- Loading branch information
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: qsv Debian Package | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
analyze-tags: | ||
runs-on: ubuntu-20.04 | ||
outputs: | ||
previous-tag: ${{ steps.previoustag.outputs.tag }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Get previous tag | ||
id: previoustag | ||
uses: "WyriHaximus/github-action-get-previous-tag@v1" | ||
|
||
build: | ||
needs: analyze-tags | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Install Cargo Deb | ||
run: cargo install cargo-deb | ||
|
||
- name: Build Debian Package | ||
run: cargo deb | ||
|
||
- name: Upload Debian Package | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: qsv-deb | ||
path: target/debian/* | ||
|
||
|
||
|
||
|