V.7.0040.1013 #132
Workflow file for this run
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
# 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 |