Skip to content

Play with actions

Play with actions #8

Workflow file for this run

name: Compile on Linux
on:
push:
branches: [ feature/actions ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
cache: 'true'
modules: 'qtlocation qtpositioning'
version: '6.*.*'
- name: Install Additional Software
run: |
sudo apt install ninja-build
- name: ccache
uses: hendrikmuhs/[email protected]
with:
key: linux
- name: Compile and Install
run: |
Qt6_DIR_BASE=$(dirname "$Qt6_DIR") ./buildscript-linux.sh
- name: Package
run: |
tar cvfz enrouteDependencies_Qt$(filename $(dirname $(dirname "$Qt6_DIR")))_linux.tar.gz Qt
- name: Upload to developerBuilds
run: |
gh release upload --clobber developerBuilds *.tar.gz
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}