Skip to content

Update build-linux.yml #12

Update build-linux.yml

Update build-linux.yml #12

Workflow file for this run

name: Build Release on Windows
on:
release:
types: [published]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Install Qt

Check failure on line 14 in .github/workflows/build-windows.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-windows.yml

Invalid workflow file

You have an error in your yaml syntax on line 14
uses: jurplel/install-qt-action@v3
with:
version: '6.6'
host: 'windows'
target: 'desktop'
arch: 'win64_msvc2019_64'
dir: '${{ github.workspace }}/nepdate/'
install-deps: 'true'
modules: 'qtcharts qtwebengine'
archives: 'qtbase qtsvg'
cache: 'false'
cache-key-prefix: 'install-qt-action'
setup-python: 'true'
tools: 'tools_ifw tools_qtcreator,qt.tools.qtcreator'
set-env: 'true'
tools-only: 'false'
aqtversion: '==3.1.*'
py7zrversion: '==0.20.*'
extra: '--external 7z'
- name: Configure Qt environment
shell: cmd
run: call ${{ github.workspace }}\nepdate\Qt\6.6.1\msvc2019_64\bin\qt6-env.bat
- name: Install CMake
run: choco install cmake --installargs '"ADD_CMAKE_TO_PATH=System"'
- 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