Skip to content

V.7.0040.1003

V.7.0040.1003 #124

Workflow file for this run

# This is an action script to build and attach the packages to a release
name: Build hw-management release artifacts
on:
release:
types: [published]
jobs:
rpm_build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3.5.2
- name: Install build packages
run: |
sudo apt-get update
sudo apt-get install rpm
sudo apt-get install devscripts build-essential lintian dh-make
- name: Build deb & rpm packages
run: |
debuild -us -uc -d
debuild -us -uc -b -aarm64
cd rpm
chmod a+x ./gen_rpm.sh
./gen_rpm.sh
- name: Release
uses: softprops/action-gh-release@v0.1.15
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
../*.deb
rpm/*.rpm