Skip to content

Commit

Permalink
Merge pull request #2029 from tino097/updating-workflow-debian-package
Browse files Browse the repository at this point in the history
Add building deb package
  • Loading branch information
jqnatividad committed Aug 6, 2024
2 parents cd7cc3b + d82e7f0 commit ca579be
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/publish-deb-package.yml
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/*




0 comments on commit ca579be

Please sign in to comment.