Skip to content
This repository has been archived by the owner on Feb 19, 2024. It is now read-only.

Fixed version

Fixed version #6

name: Build Project (Debian Package, Lintian)
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 -us -uc
cp ../*.deb .
- name: Upload package to artifacts
uses: actions/upload-artifact@v2
with:
name: NuGlobal-Debian-Package
path: "*.deb"