diff --git a/appveyor.yml b/appveyor.yml index 91203c927e..2142682e4c 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -14,11 +14,11 @@ install: - ps: Set-Content c:\users\appveyor\.ssh\id_rsa $fileContent - git config --global url.git@github.com:.insteadOf https://github.com/ - git submodule update --init --recursive -- src/monad src/windows-build src/Microsoft.PowerShell.Linux.Host/Modules/Pester - - ps: Invoke-WebRequest -Uri https://dotnetcli.blob.core.windows.net/dotnet/dev/Binaries/Latest/dotnet-win-x64.latest.zip -OutFile dotnet.zip - - 7z x dotnet.zip -odotnet > nul + - ps: Invoke-WebRequest -Uri https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0/scripts/obtain/install.ps1 -OutFile install.ps1 + - ps: ./install.ps1 -version "1.0.1.001186" build_script: - - ps: Set-Alias -Name dotnet -Value "$pwd\dotnet\bin\dotnet.exe" + - ps: $env:Path += ";$env:LocalAppData\Microsoft\dotnet\cli\bin" - ps: dotnet restore - ps: .\build.ps1 - ps: .\build.fullCLR.ps1