Skip to content

V.7.0020.4304

V.7.0020.4304 #77

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@v2
- 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
cd rpm
chmod a+x ./gen_rpm.sh
./gen_rpm.sh
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
../*.deb
rpm/*.rpm