Skip to content

Commit

Permalink
ci: Add GitHub Actions workflow for building and releasing Debian pac…
Browse files Browse the repository at this point in the history
…kage
  • Loading branch information
bastiion committed Nov 25, 2024
1 parent 0518ea5 commit c861594
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Release

on:
push:
tags:
- 'v*'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Build Debian package
run: |
docker build -t builder -f docker/Dockerfile.build .
docker run --rm -v ${{ github.workspace }}:/build builder dpkg-buildpackage -us -uc
- name: Create Release
uses: softprops/action-gh-release@v1
with:
files: |
../*.deb
generate_release_notes: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit c861594

Please sign in to comment.