fah-debian13/.forgejo/workflows/build.yml
mrkmntal f970c51a8b
Some checks failed
Build FAH Client Package / build-deb (push) Failing after 57s
Change runner to use checkout to clone
2025-11-07 17:52:07 -05:00

38 lines
827 B
YAML

name: Build FAH Client Package
on:
push:
branches: [ master ]
jobs:
build-deb:
runs-on: [self-hosted]
env:
BRANCH: ${{ github.ref_name }}
COMMIT: ${{ github.sha }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install packaging tools
run: |
apt-get update
apt-get install -y dpkg-dev fakeroot lintian
- name: Build Debian package
run: |
mkdir -p build
dpkg-deb --build . build/fahclient.deb
echo "✅ Built build/fahclient.deb"
- name: Lint package
run: |
lintian build/fahclient.deb || true
- name: Upload .deb artifact
uses: actions/upload-artifact@v3
with:
name: fahclient-deb
path: build/fahclient.deb