Skip to content

Commit bd8cc44

Browse files
committed
Update environment variable usage in tests
1 parent cac63f4 commit bd8cc44

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ jobs:
106106
run: |
107107
cd tests/TestWithModules
108108
for /f "delims=" %%d in ( 'vswhere.exe -latest -property installationPath' ) do @( call "%%d\VC\Auxiliary\Build\vcvars64.bat" )
109-
IF "%QT_VERSION:~0,1%"=="5" ( dir %Qt5_DIR%\lib\cmake ) ELSE ( dir %Qt6_DIR%\lib\cmake )
109+
IF "%QT_VERSION:~0,1%"=="5" ( dir %Qt5_DIR% ) ELSE ( dir %QT_ROOT_DIR%\lib\cmake )
110110
qmake
111111
shell: cmd
112112

@@ -117,9 +117,9 @@ jobs:
117117
run: |
118118
cd tests/TestWithModules
119119
if [[ $QT_VERSION == 6* ]]; then
120-
ls "$Qt6_DIR/lib/cmake"
120+
ls "${QT_ROOT_DIR}/lib/cmake"
121121
else
122-
ls "$Qt5_DIR/lib/cmake"
122+
ls "${Qt5_DIR}"
123123
fi
124124
qmake
125125
shell: bash

0 commit comments

Comments
 (0)