File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed
Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -6,12 +6,18 @@ build_script:
66 - ps : |
77 Write-Host "Begin download artifacts"
88
9- $file_name = $env:APPVEYOR_REPO_TAG_NAME + ".zip"
10- $source = "https://github.com/summersun/poc/archive/" + $file_name
11- # https://github.com/Azure/azure-powershell/archive/v2.2.0-September2016.zip
12- $dest = "C:\application\data"
13- Invoke-WebRequest -Uri $source -OutFile $env:APPVEYOR_BUILD_FOLDER
9+ $file_name = $env:APPVEYOR_REPO_TAG_NAME + ".zip"
10+ Write-Host $file_name
11+ $source = "http://github.com/summersun/poc/archive/" + $file_name
12+ Write-Host $source
13+ $dest = $env:APPVEYOR_BUILD_FOLDER +"\" + $file_name
14+
15+ Write-Host $dest
1416
17+ # https://github.com/Azure/azure-powershell/archive/v2.2.0-September2016.zip
18+
19+ (New-Object Net.WebClient).DownloadFile($source, $dest)
20+
1521 7z x $file_name -o$env:APPVEYOR_BUILD_FOLDER -y
1622
1723 # problem 1: find the target folders and files
You can’t perform that action at this time.
0 commit comments