Skip to content

Commit 647b614

Browse files
authored
Merge pull request #309 from shirzartenwer/fix_windows_CI
fix: verify boost url and print content in the directory
2 parents fb1c702 + b392192 commit 647b614

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/windows-build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,13 @@ jobs:
5959
if: steps.cache-boost-deps.outputs.cache-hit != 'true'
6060
run: |
6161
$boost_version_str = ${Env:BOOST_VERSION}.Replace(".","_")
62+
$boost_url = "https://archives.boost.io/release/${Env:BOOST_VERSION}/source/boost_${boost_version_str}.zip"
6263
$ProgressPreference = 'SilentlyContinue'
63-
Invoke-WebRequest -Uri https://boostorg.jfrog.io/artifactory/main/release/${Env:BOOST_VERSION}/source/boost_${boost_version_str}.zip -OutFile boost_${boost_version_str}.zip
64+
Write-Host "Downloading Boost from $boost_url"
65+
Invoke-WebRequest -Uri $boost_url -OutFile boost_${boost_version_str}.zip
6466
7z x boost_${boost_version_str}.zip
67+
Write-Host "Unzipped directory content:"
68+
Get-ChildItem -Directory
6569
cd boost_${boost_version_str}
6670
cmd /C bootstrap
6771
./b2.exe --build-type=complete toolset=msvc --with-regex --with-program_options --with-system --with-test

0 commit comments

Comments
 (0)