Skip to content

fix(ui): patch handler_block/unblock for switch-specific signals #48

fix(ui): patch handler_block/unblock for switch-specific signals

fix(ui): patch handler_block/unblock for switch-specific signals #48

Workflow file for this run

name: Build Debian Package
on:
push:
branches: [master]
tags: ["v*"]
pull_request:
branches: [master]
workflow_dispatch:
workflow_call:
jobs:
build-deb:
permissions:
contents: read
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install build dependencies
run: |
sudo apt-get update
sudo apt-get install -y dpkg-dev fakeroot dpkg-sig
- name: Build .deb package
run: ./debian/build-deb.sh
# Only import GPG key for tag builds (releases)
- name: Import GPG key
if: startsWith(github.ref, 'refs/tags/')
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
id: gpg
# Sign .deb on tag builds
- name: Sign Debian package
if: startsWith(github.ref, 'refs/tags/')
run: |
dpkg-sig --sign builder -k ${{ steps.gpg.outputs.fingerprint }} clamui_*.deb
# Verify signature was applied
dpkg-sig --verify clamui_*.deb
- name: Upload Debian package artifact
uses: actions/upload-artifact@v4
with:
name: debian-package
path: clamui_*.deb
retention-days: 7