1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-27 20:44:56 +00:00
conky/.github/workflows/publish-appimage.yml

94 lines
2.5 KiB
YAML
Raw Normal View History

2021-03-01 18:03:35 +00:00
name: Build AppImage
on:
push:
branches:
- main
tags:
- v*
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
2021-03-01 18:03:35 +00:00
jobs:
build:
2022-09-10 17:09:46 +00:00
runs-on: ubuntu-22.04
2022-09-12 16:18:45 +00:00
permissions:
contents: write
discussions: write
2021-03-01 18:03:35 +00:00
steps:
2021-04-18 15:46:00 +00:00
- run: sudo apt-get -qq update
2021-03-01 18:03:35 +00:00
- name: Install dependencies
run: |
sudo apt-get install -yqq --no-install-recommends \
audacious-dev \
cmake \
gawk \
lcov \
libaudclient-dev \
libcairo2-dev \
libcurl4-gnutls-dev \
2022-09-10 17:13:42 +00:00
libdbus-glib-1-dev \
2022-09-10 17:20:57 +00:00
libfuse2 \
2021-03-01 18:03:35 +00:00
libglib2.0-dev \
libical-dev \
libimlib2-dev \
libircclient-dev \
2021-03-02 18:27:59 +00:00
libiw-dev \
2021-03-01 18:03:35 +00:00
liblua5.3-dev \
libmicrohttpd-dev \
libmysqlclient-dev \
libpulse-dev \
librsvg2-dev \
libsystemd-dev \
2022-12-09 17:28:40 +00:00
libwayland-dev \
2021-03-01 18:03:35 +00:00
libx11-dev \
libxdamage-dev \
libxext-dev \
libxft-dev \
libxinerama-dev \
libxml2-dev \
libxmmsclient-dev \
libxnvctrl-dev \
ncurses-dev \
pandoc \
python3 \
&&
pip3 install --upgrade pyyaml
2021-03-01 18:03:35 +00:00
- name: Checkout
uses: actions/checkout@v3
2021-03-01 18:03:35 +00:00
- name: Import GPG Deploy Key
run: |
echo "${{ secrets.GPG_DEPLOY_KEY }}" > appimage/secret.gpg
gpg --import appimage/secret.gpg
- name: Build AppImage
run: ./appimage/build.sh
2022-09-12 18:15:12 +00:00
- name: Upload AppImage artifact
uses: actions/upload-artifact@v3
2021-03-01 18:03:35 +00:00
with:
2022-09-12 18:20:18 +00:00
name: conky-x86_64.AppImage
path: conky-x86_64.AppImage
- name: Upload AppImage checksum artifact
2022-09-12 18:15:12 +00:00
uses: actions/upload-artifact@v3
with:
2022-09-12 18:20:18 +00:00
name: conky-x86_64.AppImage.sha256
path: conky-x86_64.AppImage.sha256
- name: Upload man page artifact
uses: actions/upload-artifact@v3
with:
2022-10-15 04:34:06 +00:00
name: conky.1.gz
path: conky.1.gz
2021-03-02 15:41:45 +00:00
- name: Create Conky Release
id: create_release
2022-09-12 16:18:45 +00:00
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
draft: false
prerelease: false
2022-09-19 15:16:35 +00:00
discussion_category_name: General
2022-09-12 16:18:45 +00:00
generate_release_notes: true
files: |
2022-09-12 18:21:10 +00:00
conky-x86_64.AppImage
conky-x86_64.AppImage.sha256
2022-10-15 04:34:06 +00:00
conky.1.gz