From 5cc0fdfbef3575388a52cec09b0462c70dbe504f Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Tue, 8 Dec 2020 13:14:12 +0100 Subject: [PATCH] Actions --- resources/scripts/github-actions/build-windows.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/scripts/github-actions/build-windows.ps1 b/resources/scripts/github-actions/build-windows.ps1 index e60c225d3..ec428f1d5 100755 --- a/resources/scripts/github-actions/build-windows.ps1 +++ b/resources/scripts/github-actions/build-windows.ps1 @@ -6,6 +6,9 @@ echo "OS: $os; WebEngine: $webengine" $old_pwd = $pwd.Path +# Prepare environment. +cmd.exe /k "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat" `& powershell + # Get Qt. $qt_version = "5.15.1" $qt_stub = "qt-$qt_version-dynamic-msvc2019-x86_64" @@ -21,9 +24,6 @@ $qt_qmake = "$qt_path\bin\qmake.exe" $env:PATH = "$qt_path\bin\;" + $env:PATH -# Prepare environment. -& "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat" - # Build application. mkdir "rssguard-build" cd "rssguard-build"