forked from elementary/monitor
-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (37 loc) · 1.3 KB
/
release-launchpad.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
name: Release on Launchpad
on:
release:
types: [published]
# on: [push, pull_request]
jobs:
build:
name: Submit a build for Launchpad
runs-on: ubuntu-latest
container:
image: elementary/docker:unstable
steps:
- name: Check out proper version of sources
uses: actions/checkout@v1
with:
submodules: true
- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v4
with:
gpg_private_key: ${{ secrets.GPG_SIGNING_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
# - name: Check changelog for bumped version
# run: |
# grep -q ${{ github.event.release.tag_name }} debian/changelog || { echo "Version not bumped!" && exit 1; }
- name: Install build dependencies
run: |
apt update
apt install -y devscripts dput
apt install -y libgala-dev libgee-0.8-dev libglib2.0-dev libgranite-dev libgtk-3-dev libhandy-1-dev
apt install -y libdbus-glib-1-dev libwnck-3-dev libgtop2-dev libwingpanel-3.0-dev appstream debhelper libudisks2-dev
apt install -y meson valac sassc git
- name: Build the package
run: debuild --no-lintian -S
- name: Send to Launchpad
run: |
dput ppa:stsdc/monitor ../*_source.changes