Create the DEB #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create the DEB | |
permissions: | |
contents: write | |
on: | |
push: | |
paths: | |
- "mrmShared/linux/**" | |
pull_request: | |
paths: | |
- "mrmShared/linux/**" | |
workflow_dispatch: | |
jobs: | |
Create_Packages: | |
name: Create Package | |
runs-on: ubuntu-latest | |
steps: | |
- name: "apt-get install" | |
run: | | |
sudo apt-get update | |
sudo apt-get -y install dkms debhelper | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
path: "REPO" | |
- name: Build pakckage | |
run: | | |
cd REPO/mrmShared/linux | |
dpkg-buildpackage | |
- name: Release the Package | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: mrf-dkms_3-0_all.deb |