From f4c7fdb775f5c6be0675a7b78c8e728cf7e38b76 Mon Sep 17 00:00:00 2001 From: Adrien Delorme Date: Tue, 16 Oct 2018 13:44:36 +0200 Subject: [PATCH] use curl instead of ps: Start-FileDownload --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 46637f256..021ff00e0 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -38,7 +38,7 @@ clone_folder: c:\gopath\src\github.com\hashicorp\packer # Install needed build dependencies install: - - ps: Start-FileDownload "https://cygwin.com/$env:CYG_SETUP" -FileName "$env:CYG_SETUP" + - curl -fsS -o %CYG_SETUP% "https://cygwin.com/%CYG_SETUP%" - '%CYG_SETUP% --quiet-mode --no-shortcuts --only-site --root "%CYG_ROOT%" --site "%CYG_MIRROR%" --local-package-dir "%CYG_CACHE%" --packages "%CYG_PACKAGES%" --upgrade-also' - echo %Path% - go version