This repository has been archived by the owner on Feb 19, 2024. It is now read-only.
imp - Fixed typo in manpage #10
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) | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: 'true' | |
- name: Import GPG | |
uses: crazy-max/ghaction-import-gpg@v5 | |
with: | |
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} | |
passphrase: ${{ secrets.PASSPHRASE }} | |
- name: Install required packages | |
run: | | |
sudo apt install curl locales-all cli-common-dev libunwind8-dev libcurl4-openssl-dev rustc cargo devscripts debhelper-compat dput | |
- name: Make original package | |
run: | | |
mv debian .. | |
mv .github .. | |
tar cfv ../nuglobal_0.1.0.orig.tar . | |
xz ../nuglobal_0.1.0.orig.tar | |
mv ../debian . | |
- name: Build package | |
run: | | |
debuild --no-lintian -us -uc | |
cp ../*.deb . | |
- name: Upload package to artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: NuGlobal-Debian-Package | |
path: "*.deb" |