diff options
-rw-r--r-- | appveyor.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/appveyor.yml b/appveyor.yml index 9719a8ed34..d31d4b2df9 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -53,8 +53,9 @@ for: - mkdir \usr\local\bin - mkdir \usr\local\include - mkdir \usr\local\lib - - curl -fsSL -o zlib%zlib_version:.=%.zip --retry 10 https://zlib.net/zlib%zlib_version:.=%.zip - - 7z x -aoa -o%APPVEYOR_BUILD_FOLDER%\ext\zlib zlib%zlib_version:.=%.zip + - SET ZLIB_ZIP=.downloaded-cache\zlib%zlib_version:.=%.zip + - if not exist %ZLIB_ZIP% curl -fsSL -o %ZLIB_ZIP% --retry 10 https://zlib.net/zlib%zlib_version:.=%.zip + - 7z x -aos -o%APPVEYOR_BUILD_FOLDER%\ext\zlib %ZLIB_ZIP% - for %%I in (%OPENSSL_DIR%\*.dll) do mklink /h \usr\local\bin\%%~nxI %%I - attrib +r /s /d - mkdir %Platform%-mswin_%vs% |