Skip to content

Commit

Permalink
Add workflow for building deb package
Browse files Browse the repository at this point in the history
  • Loading branch information
aursulis committed Mar 9, 2024
1 parent ca3120b commit c894219
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/deb-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Make Debian package

on:
push:
branches: [ "master" ]

workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Install build scripts
run: |
sudo apt-get update
sudo apt-get install -y build-essential debhelper devscripts
- name: Build
working-directory: ${{github.workspace}}
run: ./makedeb.sh

- name: Archive built package
uses: actions/upload-artifact@v4
with:
name: deb-pkg
path: ${{github.workspace}}/build/*.deb

0 comments on commit c894219

Please sign in to comment.