This repository was archived by the owner on Apr 8, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -4,17 +4,12 @@ install:
4
4
- ps : Install-Product node 6.9.2 x64
5
5
# .NET Core SDK binaries
6
6
# Download .NET Core SDK and add to PATH
7
- - ps : $urlCurrent = "https://go.microsoft.com/fwlink/?LinkID=834991"
8
- - ps : $urlPreview = "https://dotnetcli.blob.core.windows.net/dotnet/Sdk/rel-1.0.0/dotnet-dev-win-x64.latest.zip"
7
+ - ps : $urlCurrent = "https://download.microsoft.com/download/E/7/8/E782433E-7737-4E6C-BFBF-290A0A81C3D7/dotnet-dev-win-x64.1.0.4.zip"
9
8
- ps : $env:DOTNET_INSTALL_DIR = "$pwd\.dotnetsdk"
10
9
- ps : mkdir $env:DOTNET_INSTALL_DIR -Force | Out-Null
11
10
- ps : $tempFileCurrent = [System.IO.Path]::GetTempFileName()
12
- - ps : $tempFilePreview = [System.IO.Path]::GetTempFileName()
13
11
- ps : (New-Object System.Net.WebClient).DownloadFile($urlCurrent, $tempFileCurrent)
14
- - ps : (New-Object System.Net.WebClient).DownloadFile($urlPreview, $tempFilePreview)
15
12
- ps : Add-Type -AssemblyName System.IO.Compression.FileSystem; [System.IO.Compression.ZipFile]::ExtractToDirectory($tempFileCurrent, $env:DOTNET_INSTALL_DIR)
16
- - ps : Add-Type -AssemblyName System.IO.Compression.FileSystem; [System.IO.Compression.ZipFile]::ExtractToDirectory($tempFilePreview, $env:DOTNET_INSTALL_DIR + "preview")
17
- - ps : Copy-Item "${env:DOTNET_INSTALL_DIR}preview\*" "${env:DOTNET_INSTALL_DIR}" -Force -Recurse
18
13
- ps : $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
19
14
build_script :
20
15
- ps : Push-Location
You can’t perform that action at this time.
0 commit comments