File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 44 - git config --global core.autocrlf input
55
66environment :
7+ global :
8+ CLI_VERSION : 1.0.0-preview1-002702 # released preview1
79 matrix :
810 - BUILD_TARGET : DotnetCliTests
911 - BUILD_TARGET : NuGet
1012
13+ install :
14+ # .NET Core SDK binaries
15+ - ps : $url = "https://dotnetcli.blob.core.windows.net/dotnet/beta/Binaries/$($env:CLI_VERSION)/dotnet-dev-win-x64.$($env:CLI_VERSION.ToLower()).zip"
16+ # Download .NET Core SDK and add to PATH
17+ - ps : $env:DOTNET_INSTALL_DIR = "$pwd\.dotnetsdk"
18+ - ps : mkdir $env:DOTNET_INSTALL_DIR -Force | Out-Null
19+ - ps : $tempFile = [System.IO.Path]::GetTempFileName()
20+ - ps : (New-Object System.Net.WebClient).DownloadFile($url, $tempFile)
21+ - ps : Add-Type -AssemblyName System.IO.Compression.FileSystem; [System.IO.Compression.ZipFile]::ExtractToDirectory($tempFile, $env:DOTNET_INSTALL_DIR)
22+ - ps : $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
23+
1124build_script :
1225 - ps : dotnet --info
1326 - cmd : build.cmd %BUILD_TARGET%
You can’t perform that action at this time.
0 commit comments