Skip to content

Commit

Permalink
add github action to build package on tag
Browse files Browse the repository at this point in the history
  • Loading branch information
crosser committed Oct 22, 2024
1 parent c173149 commit 28e9ba7
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/build-dpkg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
on:
push:
tags:
- "*"

jobs:
build-deb:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Build Package
uses: crosser/build-dpkg@HEAD
id: build
with:
args: --unsigned-source --unsigned-changes

- name: Upload Release
uses: softprops/action-gh-release@v1
with:
files: ${{ github.workspace }}/${{ steps.build.outputs.filename }}
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
debian/*debhelper*
debian/*.substvars
debian/files
debian/blering/
debian/bluering/
.pybuild
build
blering.egg-info
bluering.egg-info

0 comments on commit 28e9ba7

Please sign in to comment.