Skip to content

Commit 7aa36e8

Browse files
committed
Retry when downloading Boost binaries in CI
1 parent 4ee9bae commit 7aa36e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ jobs:
128128
if ("${{ steps.cache-boost.outputs.cache-hit }}" -ne "true" ) {
129129
${boost_ver} = "${{ matrix.boost-version }}" -replace '\.','_'
130130
${boostexe} = "boost_${boost_ver}-msvc-${msvcver}-64.exe"
131-
curl -LO https://sourceforge.net/projects/boost/files/boost-binaries/${{ matrix.boost-version }}/${boostexe}
131+
curl --retry 3 --retry-all-errors -LO https://sourceforge.net/projects/boost/files/boost-binaries/${{ matrix.boost-version }}/${boostexe}
132132
Start-Process -Wait -FilePath ".\${boostexe}" "/SILENT","/SP-","/SUPPRESSMSGBOXES","/DIR=${boostroot}"
133133
}
134134
echo "BOOST_INCLUDEDIR=${boostroot}" >> ${env:GITHUB_ENV}

0 commit comments

Comments
 (0)