Skip to content

Builds on Windows and Linux #3

Builds on Windows and Linux

Builds on Windows and Linux #3

Workflow file for this run

on:
push:
tags:
- "v*"
name: Upload .exe
permissions:
contents: write
id-token: write
jobs:
build:
name: Build binary
runs-on: windows-latest
steps:
- name: Checkout the repository
uses: actions/checkout@master
- name: Install CMake
uses: lukka/get-cmake@latest
- name: Install Qt
uses: jurplel/install-qt-action@v4
with:
version: '5.15.2'
- name: Prepare build directory
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
- name: Build binary
run: cmake --build build --config=Release
- name: Create installer
working-directory: ./build
run: cpack
- name: Upload .exe
uses: softprops/action-gh-release@v2
with:
files: build/QPlot*exe
token: ${{github.TOKEN}}