Restore path to Chocolatey.

This commit is contained in:
Roman Telezhynskyi 2023-07-15 16:25:28 +03:00
parent 3920e9ca15
commit 99ef44937d

View File

@ -358,7 +358,7 @@ for:
# Path before
- path
- set QTDIR=C:\%QT%
- set PATH=%QTDIR%\bin;%QTDIR%\include;C:\Qt\Tools\QtCreator\bin;C:\Tools\PsTools;C:\Program Files\Git\cmd;C:\Program Files\Git\usr\bin;C:\Program Files\Git LFS;C:\Tools\GitVersion;C:\Windows\system32;C:\Windows;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\CMake\bin;%PYTHON%;%PYTHON%\Scripts
- set PATH=%QTDIR%\bin;%QTDIR%\include;C:\Qt\Tools\QtCreator\bin;C:\Tools\PsTools;C:\Program Files\Git\cmd;C:\Program Files\Git\usr\bin;C:\Program Files\Git LFS;C:\Tools\GitVersion;C:\Windows\system32;C:\Windows;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\CMake\bin;C:\ProgramData\chocolatey\bin;%PYTHON%;%PYTHON%\Scripts
# Set VC variables for the platform
- ps: |
if ($env:COMPILER -eq "msvc") {
@ -387,7 +387,7 @@ for:
}
} else {
if ($env:CHOCOLATEY_PACKAGES -eq "true") {
& choco install mingw --version $env:CHOCOLATEY_MINGW_VERSION
& choco install mingw -y --version $env:CHOCOLATEY_MINGW_VERSION
}
$env:Path += ";$env:MINGW_PATH"
$env:CC = "gcc.exe"