Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 247665e

Browse files
committed
Use AppVeyor's Start-FileDownload cmdlet
Start-FileDownload maintains current directory context and allows specifying a request timeout, see [1]. [1] https://www.appveyor.com/docs/how-to/download-file#start-filedownload-cmdlet
1 parent c756448 commit 247665e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ build_script:
3333
test_script:
3434
- ps: |
3535
$ErrorActionPreference="Stop"
36-
Invoke-WebRequest https://github.com/ethomson/poxyproxy/releases/download/v0.1.0/poxyproxy-0.1.0.jar -OutFile poxyproxy.jar
36+
Start-FileDownload https://github.com/ethomson/poxyproxy/releases/download/v0.1.0/poxyproxy-0.1.0.jar -FileName poxyproxy.jar
3737
# Run this early so we know it's ready by the time we need it
3838
$proxyJob = Start-Job { java -jar $Env:APPVEYOR_BUILD_FOLDER\build\poxyproxy.jar -d --port 8080 --credentials foo:bar }
3939
ctest -V -R libgit2_clar

0 commit comments

Comments
 (0)