forked from brndnmtthws/conky
-
Notifications
You must be signed in to change notification settings - Fork 0
97 lines (95 loc) · 2.62 KB
/
publish-appimage.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
name: Build AppImage
on:
push:
branches:
- main
tags:
- v*
paths-ignore:
- web/**
- doc/**
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-22.04
permissions:
contents: write
discussions: write
steps:
- run: sudo apt-get -qq update
- name: Install dependencies
run: |
sudo apt-get install -yqq --no-install-recommends \
audacious-dev \
cmake \
gawk \
lcov \
libaudclient-dev \
libcairo2-dev \
libcurl4-gnutls-dev \
libdbus-glib-1-dev \
libfuse2 \
libglib2.0-dev \
libical-dev \
libimlib2-dev \
libircclient-dev \
libiw-dev \
liblua5.3-dev \
libmicrohttpd-dev \
libmysqlclient-dev \
libpulse-dev \
librsvg2-dev \
libsystemd-dev \
libwayland-dev \
libx11-dev \
libxdamage-dev \
libxext-dev \
libxft-dev \
libxinerama-dev \
libxml2-dev \
libxmmsclient-dev \
libxnvctrl-dev \
ncurses-dev \
ninja-build \
pandoc \
python3 \
&&
pip3 install --upgrade pyyaml
- name: Checkout
uses: actions/checkout@v4
- name: Import GPG Deploy Key
run: |
echo "${{ secrets.GPG_DEPLOY_KEY }}" > appimage/secret.gpg
gpg --import appimage/secret.gpg
- name: Build AppImage
run: CC=clang-14 CXX=clang++-14 ./appimage/build.sh
- name: Upload AppImage artifact
uses: actions/upload-artifact@v3
with:
name: conky-x86_64.AppImage
path: conky-x86_64.AppImage
- name: Upload AppImage checksum artifact
uses: actions/upload-artifact@v3
with:
name: conky-x86_64.AppImage.sha256
path: conky-x86_64.AppImage.sha256
- name: Upload man page artifact
uses: actions/upload-artifact@v3
with:
name: conky.1.gz
path: conky.1.gz
- name: Create Conky Release
id: create_release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
draft: false
prerelease: false
discussion_category_name: General
generate_release_notes: true
files: |
conky-x86_64.AppImage
conky-x86_64.AppImage.sha256
conky.1.gz