Skip to content
name: Build and Release Debian Package
on:
push:
tags:
- '*'
jobs:
build_and_release:
name: Build and Release Debian Package
runs-on: ubuntu-20.04
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install DKMS
run: sudo apt-get install -y debhelper devscripts dh-exec dkms dpkg
- name: Build Debian package
run: dkms mkdeb --source-only
- name: Release
uses: softprops/action-gh-release@v1
with:
generate_release_notes: true
files: |
../*.deb