pkg - Change bskyid.manpages #27
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Project (Debian Package, Lintian) | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: 'true' | |
- name: Import GPG | |
uses: crazy-max/ghaction-import-gpg@v6 | |
with: | |
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} | |
passphrase: ${{ secrets.PASSPHRASE }} | |
- name: Install required packages | |
run: | | |
sudo apt update | |
sudo NEEDRESTART_SUSPEND=1 apt install devscripts debhelper-compat dput build-essential | |
- name: Make original package | |
run: | | |
mv debian .. | |
mv .github .. | |
tar cfv ../bskyid_1.0.0.orig.tar . | |
xz ../bskyid_1.0.0.orig.tar | |
mv ../debian . | |
- name: Build package | |
run: | | |
debuild -us -uc | |
cp ../*.deb . | |
- name: Upload package to artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Debian-Package | |
path: "*.deb" |