diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index dc5a7e16..125348f5 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -21,13 +21,12 @@ jobs: uses: microsoft/setup-msbuild@v1.0.2 - name: Install Boost - shell: powershell + shell: cmd run: | - echo "${env:BOOST_ROOT}" - $Url = "https://sourceforge.net/projects/boost/files/boost-binaries/1.72.0/boost_1_72_0-msvc-14.2-64.exe" - (New-Object System.Net.WebClient).DownloadFile($Url, "$env:TEMP\boost.exe") - Start-Process -Wait -FilePath "$env:TEMP\boost.exe" "/SILENT","/SP-","/SUPPRESSMSGBOXES","/DIR=${env:BOOST_ROOT}" - + choco install wget --no-progress + wget -nv -O boost-installer.exe "https://sourceforge.net/projects/boost/files/boost-binaries/1.72.0/boost_1_72_0-msvc-14.2-64.exe/download" + boost-installer.exe /dir=%BOOST_ROOT% /sp- /verysilent /suppressmsgboxes /norestart + - name: Install Qt uses: jurplel/install-qt-action@v4 with: