.github/workflows/build-windows.yml #3
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: Build Release on Windows | |
on: | |
release: | |
types: [published] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Qt | |
uses: jurplel/install-qt-action@v2 | |
with: | |
version: '6.6.1' | |
host: 'windows' | |
target: 'desktop' | |
arch: 'win64_msvc2019_64' | |
- name: Configure Qt environment | |
run: C:\Qt\6.6.1\msvc2019_64\bin\qt6-env.bat | |
- name: Set up CMake | |
uses: lukka/setup-cmake@v3 | |
- name: Create build directory | |
run: cmake -DCMAKE_BUILD_TYPE=Release -S . -B build | |
- name: Build project | |
run: cmake --build build --config Release | |
- name: Upload artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: nepdate-calendar-windows | |
path: build/Release/nepdate-calendar.exe |