Skip to content

Commit

Permalink
github: add build dkms package
Browse files Browse the repository at this point in the history
  • Loading branch information
vankoven committed Aug 30, 2024
1 parent 9012032 commit 6cb597c
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build package

on: [push, workflow_dispatch]

jobs:
build_dkms:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4

- name: prepare sources
run: |
rm -rf debian
cp -r debian.dkms debian
- name: make dkms source package
run: |
fakeroot debian/rules binary
mv ../linux-rex-dkms*_all.deb .
- name: upload package artifacts
uses: actions/upload-artifact@v4
with:
name: package
path: linux-rex-dkms*_all.deb
if-no-files-found: error

0 comments on commit 6cb597c

Please sign in to comment.