refactor: change logging formats and move argument parsing functionality #182
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
name: UMU Deb Build - Debian 12 | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
release: | |
types: [published] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: debian:bookworm | |
volumes: | |
- /proc:/proc | |
options: --privileged -it | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Copy debian packaging folder to the repository root | |
run: cp -rvf ./packaging/deb/debian ./debian | |
- name: Update APT Cache | |
run: apt update -y | |
- name: Install build dependencies | |
run: apt install -y dh-make dpkg-dev | |
- name: Setup dh_make quilt files | |
run: LOGNAME=root dh_make --createorig -y -l -p umu-launcher_1.1.4 || true | |
- name: Install apt build dependencies | |
run: apt build-dep -y ./ | |
- name: Build | |
run: dpkg-buildpackage --no-sign | |
- name: Move DEB files to upload artifact path | |
run: mkdir -p results && cp -rvf ../*.deb results/ | |
- name: Upload artifact | |
uses: actions/[email protected] | |
with: | |
name: Debian-12 | |
path: results/ |