Skip to content

Workflow file for this run

name: Build and Upload Debian Package
on:
push:
branches:
- master
release:
types: [released]
jobs:
deb:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: sudo apt update && sudo apt install -y qemu-user-static binfmt-support
- uses: docker/build-push-action@v3
with:
context: .
outputs: build
platforms: linux/arm64
- uses: paulhatch/[email protected]
id: semantic
with:
tag_prefix: ""
version_format: ${{ github.event_name == 'release' && '${major}.${minor}.${patch}' || '${major}.${minor}.${patch}-prerelease${increment}' }}
- uses: jiro4989/build-deb-action@v3
id: build
with:
package: irl-belacoder
package_root: ./build
maintainer: IRL Software <[email protected]>
version: ${{ steps.semantic.outputs.version }}
#depends: "openssl, libssl-dev"
arch: "arm64"
- uses: actions/upload-artifact@v4
with:
name: belacoder-arm64.deb
path: ${{ steps.build.outputs.file_name }}