Bump version, update supporters dialog #135
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ubuntu 20.04 | |
on: push | |
jobs: | |
buildOnUbuntu: | |
runs-on: ubuntu-20.04 | |
container: | |
image: ubuntu:20.04 # yes, this looks redundant, but something is messed up with their Ubuntu image that causes our builds to fail | |
steps: | |
- name: checkout sources | |
uses: actions/checkout@v4 | |
- name: Install Dependencies | |
shell: bash | |
run: | | |
apt-get update && apt-get install -y sudo p7zip-full wget file | |
sudo ln -fs /usr/share/zoneinfo/UTC /etc/localtime | |
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends software-properties-common | |
- name: Install Qt | |
uses: jurplel/install-qt-action@v4 | |
with: | |
version: '6.8.0' | |
arch: 'linux_gcc_64' | |
extra: '--external 7z' | |
modules: 'qtimageformats' | |
- name: Build Laigter | |
shell: bash | |
run: | | |
echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV | |
qmake CONFIG+=release PREFIX=/usr | |
make -j$(nproc) | |
make INSTALL_ROOT=appdir install | |
find appdir/ | |
mkdir -p appdir/usr/lib | |
export APPIMAGE_EXTRACT_AND_RUN=1 | |
wget -c -nv "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage" | |
if [[ "$RELEASE_VERSION" != "" ]]; then export VERSION=$RELEASE_VERSION;fi | |
chmod a+x linuxdeployqt-continuous-x86_64.AppImage | |
./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -extra-plugins=imageformats -appimage -verbose=2 | |
- name: upload artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: test-artifact | |
path: Laigter-x86_64.AppImage | |
- name: GitHub Releases | |
uses: fnkr/github-action-ghr@v1.3 | |
if: startsWith(github.ref, 'refs/tags/') | |
env: | |
GHR_PATH: Laigter-x86_64.AppImage | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |