Skip to content

Adding depends for dbus and pygobject for changes to print something to screen on reboot #31

Adding depends for dbus and pygobject for changes to print something to screen on reboot

Adding depends for dbus and pygobject for changes to print something to screen on reboot #31

name: Build and Archive Debian Package
on:
# Allow manual runs of workflow from Actions tab
workflow_dispatch:
pull_request:
branches:
- main
paths:
- 'debian/changelog'
jobs:
sbuild:
name: sbuild ${{ matrix.distro }}+${{ matrix.arch }}
runs-on: 'ubuntu-22.04'
strategy:
fail-fast: false
matrix:
distro: [bullseye,bookworm]
arch: [arm64]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: sbuild for ${{ matrix.distro }} ${{ matrix.arch }}
uses: wlan-pi/sbuild-debian-package@main
id: build-debian-package
with:
distro: ${{ matrix.distro }}
arch: ${{ matrix.arch }}
- name: Archive artifacts and upload to GitHub
uses: actions/upload-artifact@v4
with:
name: wlanpi-fpms-${{ matrix.distro }}-${{ matrix.arch }}
path: ${{ steps.build-debian-package.outputs.deb-package }}
slack-workflow-status:
if: always()
name: Post Workflow Status to Slack
needs:
- sbuild
runs-on: 'ubuntu-22.04'
steps:
- name: Slack Workflow Notification
uses: Gamesight/slack-workflow-status@master
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}