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
(cherry picked from commit 156ec34)

# Conflicts:
#	.ci/scripts/install-tools.bat
  • Loading branch information
v1v authored and mergify-bot committed Apr 7, 2021
1 parent 5917d3e commit 819818c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .ci/scripts/install-tools.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,18 @@ IF NOT EXIST "%PROGRAMFILES(X86)%" (
)
set PATH=%WORKSPACE%\bin;C:\ProgramData\chocolatey\bin;C:\tools\mingw%MINGW_ARCH%\bin;%PATH%

<<<<<<< HEAD
where /q curl
IF ERRORLEVEL 1 (
choco install curl -y --no-progress --skipdownloadcache
=======
curl --version >nul 2>&1 && (
echo found curl
) || (
choco install curl -y --no-progress --skipdownloadcache
>>>>>>> 156ec34ab6... CI: curl seems to be available but where cannot find it (#24965)
)

mkdir %WORKSPACE%\bin

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

0 comments on commit 819818c

Please sign in to comment.