From 037138ab80a43db4f85546bc6028e02a942b81b6 Mon Sep 17 00:00:00 2001 From: Gabriel Fedel Date: Mon, 26 Feb 2024 13:07:22 +0100 Subject: [PATCH] Test with deb package --- .github/workflows/debpackage.yml | 34 ++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/debpackage.yml diff --git a/.github/workflows/debpackage.yml b/.github/workflows/debpackage.yml new file mode 100644 index 000000000..114dbd154 --- /dev/null +++ b/.github/workflows/debpackage.yml @@ -0,0 +1,34 @@ +name: Create the DEB + +permissions: + contents: write + +on: +on: + push: + paths: + - "mrmShared/linux/**" + pull_request: + paths: + - "mrmShared/linux/**" + workflow_dispatch: + +jobs: + Create_Packages: + name: Create Package + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + with: + path: "REPO" + + - name: Build pakckage + run: | + cd mrmShared/linux + dpkg-buildpackage + + - name: Release the Package + uses: softprops/action-gh-release@v1 + with: + files: mrf-dkms_3-0_all.deb