aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-03-12 18:43:28 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-03-12 19:00:06 +0300
commit52cf2a1c154c9879687259ddbb1220ccdc66821a (patch)
tree0bb693a5a81ec5237c97a02fa66205468518741e
parentdebian: add GitHub workflow (diff)
downloadlinux-status-52cf2a1c154c9879687259ddbb1220ccdc66821a.tar.gz
linux-status-52cf2a1c154c9879687259ddbb1220ccdc66821a.zip
debian: GitHub workflow to upload to PPA
-rw-r--r--.github/workflows/ppa.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/.github/workflows/ppa.yml b/.github/workflows/ppa.yml
new file mode 100644
index 0000000..7c32894
--- /dev/null
+++ b/.github/workflows/ppa.yml
@@ -0,0 +1,30 @@
+name: Upload to PPA
+
+on:
+ push:
+ tags: 'debian/*'
+
+jobs:
+ test:
+ runs-on: ubuntu-latest
+ name: Upload to PPA
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+ with:
+ fetch-depth: 0
+ - name: Import GPG key
+ uses: crazy-max/ghaction-import-gpg@v3
+ with:
+ gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
+ passphrase: ${{ secrets.GPG_PASSPHRASE }}
+ - name: Install dependencies
+ run: cd debian && sudo make deps
+ - name: Create cowbuilder image
+ run: cd debian && sudo make dist/create
+ - name: Test building binary package
+ run: cd debian && make dist
+ - name: Build source package
+ run: cd debian && make clean && make src
+ - name: Upload to PPA
+ run: cd debian && make upload