Skip to content

Commit 12d497e

Browse files
committed
fix: PATH to windeployqt
1 parent 08cb687 commit 12d497e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/deploy-windows.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
branches:
88
- "**"
99

10+
env:
11+
Qt_ROOT: ../Qt/6.8.2/msvc2022_64/
12+
1013
jobs:
1114
build:
1215
runs-on: windows-latest
@@ -39,12 +42,12 @@ jobs:
3942
- name: CMake
4043
shell: bash
4144
run: |
42-
cmake -B build -DBUILD_TESTING=OFF -DQt6_DIR=../Qt/6.8.2/msvc2022_64/lib/cmake/Qt6 -DCMAKE_PREFIX_PATH=../or-tools_x64_VisualStudio2022_cpp_v9.10.4067
45+
cmake -B build -DBUILD_TESTING=OFF -DQt6_DIR=${Qt_ROOT}/lib/cmake/Qt6 -DCMAKE_PREFIX_PATH=../or-tools_x64_VisualStudio2022_cpp_v9.10.4067
4346
- name: Build
4447
run: cmake --build build --config Release
4548
- name: Deploy Qt
4649
shell: bash
47-
run: ci/deploywindows.sh
50+
run: PATH=$PATH:${Qt_ROOT} ci/deploywindows.sh
4851
- name: Create Release
4952
uses: softprops/action-gh-release@v1
5053
with:

0 commit comments

Comments
 (0)