Skip to content

V.7.0030.1034

V.7.0030.1034 #78

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/[email protected]
- 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/[email protected]
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
../*.deb
rpm/*.rpm