Skip to content

Commit 228120c

Browse files
committed
Update dotnet install to use ps1 script
Signed-off-by: Darren Stahl <darst@microsoft.com>
1 parent d2ef43d commit 228120c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

appveyor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ version: '{build}'
22
pull_requests:
33
do_not_increment_build_number: true
44
init:
5-
- ps: (new-object net.webclient).DownloadFile('https://dotnetcli.blob.core.windows.net/dotnet/beta/Installers/Latest/dotnet-dev-win-x64.latest.exe', "c:/dotnet-install.exe")
6-
- ps: Start-Process c:\dotnet-install.exe -ArgumentList "/install","/quiet" -Wait
5+
- ps: (new-object net.webclient).DownloadFile('https://dot.net/v1/dotnet-install.ps1', "C:/dotnet-install.ps1")
6+
- ps: C:/dotnet-install.ps1 -Channel 2.0
77
nuget:
88
disable_publish_on_pr: true
99
build_script:

0 commit comments

Comments
 (0)