This repository has been archived by the owner on Feb 19, 2024. It is now read-only.
Push to PPA #1
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: Push to PPA | |
on: | |
workflow_dispatch: | |
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 source package | |
run: debuild -S -sa | |
- name: Push to Launchpad | |
run: dput ppa:eofla/aptivi-devapps ../nuglobal_0.1.0*_source.changes |