Skip to content

Skip symlinked index.theme files #19

Skip symlinked index.theme files

Skip symlinked index.theme files #19

Workflow file for this run

name: Build on Ubuntu
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Initialize submodules
run: git submodule update --init --recursive
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y qtbase5-dev libqt5xdg-dev extra-cmake-modules libdbusmenu-qt5-dev libxcb-ewmh-dev libqt5x11extras5-dev libkf5windowsystem-dev qtbase5-private-dev qtmultimedia5-dev cmake clang
- name: Configure and build
run: |
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
make -j$(nproc)
make DESTDIR=QtPlugin -j$(nproc) install
mv QtPlugin/usr/etc QtPlugin/ || true
find QtPlugin/
cd QtPlugin/ && zip --symlinks -r ../QtPlugin_Ubuntu.zip . && cd -
- name: Create GitHub Release using Continuous Release Manager
if: github.event_name == 'push' # Only run for push events, not pull requests
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
curl -L -o continuous-release-manager-linux https://github.com/probonopd/continuous-release-manager/releases/download/continuous/continuous-release-manager-linux
chmod +x continuous-release-manager-linux
./continuous-release-manager-linux
RELEASE_ID=$(./continuous-release-manager-linux)
echo "RELEASE_ID=${RELEASE_ID}" >> $GITHUB_ENV
- name: Upload to GitHub Release
if: github.event_name == 'push' # Only run for push events, not pull requests
uses: xresloader/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
file: "build/*zip"
draft: false
verbose: true
branches: main
tag_name: continuous
release_id: ${{ env.RELEASE_ID }}