Skip to content

Commit

Permalink
ci: add publish deb
Browse files Browse the repository at this point in the history
  • Loading branch information
datagutt committed Nov 16, 2024
1 parent b60e9b8 commit 8585318
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/publish-deb.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
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 }}

0 comments on commit 8585318

Please sign in to comment.