mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2026-01-04 16:04:05 +00:00
20 lines
992 B
YAML
Executable File
20 lines
992 B
YAML
Executable File
init:
|
|
- git config --global core.autocrlf true
|
|
install:
|
|
- ps: Install-Product node 6.9.2 x64
|
|
# .NET Core SDK binaries
|
|
# Download .NET Core 2.0 Preview 3 SDK and add to PATH
|
|
- ps: $urlCurrent = "https://dotnetcli.azureedge.net/dotnet/Sdk/2.0.0-preview3-006857/dotnet-sdk-2.0.0-preview3-006857-win-x64.zip"
|
|
- ps: $env:DOTNET_INSTALL_DIR = "$pwd\.dotnetsdk"
|
|
- ps: mkdir $env:DOTNET_INSTALL_DIR -Force | Out-Null
|
|
- ps: $tempFileCurrent = [System.IO.Path]::Combine([System.IO.Path]::GetTempPath(), [System.IO.Path]::GetRandomFileName())
|
|
- ps: (New-Object System.Net.WebClient).DownloadFile($urlCurrent, $tempFileCurrent)
|
|
- ps: Add-Type -AssemblyName System.IO.Compression.FileSystem; [System.IO.Compression.ZipFile]::ExtractToDirectory($tempFileCurrent, $env:DOTNET_INSTALL_DIR)
|
|
- ps: $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
|
|
clone_depth: 1
|
|
environment:
|
|
global:
|
|
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
|
|
DOTNET_CLI_TELEMETRY_OPTOUT: 1
|
|
deploy: off
|