Skip to content

Commit

Permalink
CI: curl seems to be available but where cannot find it (#24965)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored Apr 7, 2021
1 parent a2440a6 commit 156ec34
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .ci/scripts/install-tools.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ IF NOT EXIST "%PROGRAMFILES(X86)%" (
)
set PATH=%WORKSPACE%\bin;C:\ProgramData\chocolatey\bin;C:\tools\mingw%MINGW_ARCH%\bin;%PATH%

where /q curl
IF ERRORLEVEL 1 (
curl --version >nul 2>&1 && (
echo found curl
) || (
choco install curl -y --no-progress --skipdownloadcache
)

mkdir %WORKSPACE%\bin

IF EXIST "%PROGRAMFILES(X86)%" (
Expand Down

0 comments on commit 156ec34

Please sign in to comment.