1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-09-30 22:19:09 +00:00
conky/.github/workflows/publish-appimage.yml
dependabot[bot] 889f8a5338 Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-13 16:54:33 -04:00

84 lines
2.2 KiB
YAML

name: Build AppImage
on:
push:
branches:
- main
tags:
- v*
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 \
docbook2x \
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 \
libx11-dev \
libxdamage-dev \
libxext-dev \
libxft-dev \
libxinerama-dev \
libxml2-dev \
libxmmsclient-dev \
libxnvctrl-dev \
ncurses-dev
- name: Checkout
uses: actions/checkout@v3
- 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
- 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: 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