File tree 1 file changed +10
-0
lines changed
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,20 @@ install:
4
4
- set PATH=%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\;%PATH%
5
5
- ps : Install-Product node 10
6
6
- npm install --global npm
7
+ - ps : |
8
+ Write-Host "Installing .NET Core SDK..." -ForegroundColor Cyan
9
+ Write-Host "Downloading..."
10
+ $exePath = "$env:TEMP\dotnet-sdk.exe"
11
+ (New-Object Net.WebClient).DownloadFile('https://download.visualstudio.microsoft.com/download/pr/31b5b67f-b787-4f73-a728-5ec61f10a4de/be6430bcd9a62f610cd9f12f8cc2c736/dotnet-sdk-3.0.100-preview3-010431-win-x64.exe', $exePath)
12
+ Write-Host "Installing..."
13
+ cmd /c start /wait "$exePath" /quiet /norestart
14
+ del $exePath
15
+ Write-Host "Installed" -ForegroundColor Green
7
16
build :
8
17
project : build.proj
9
18
verbosity : normal
10
19
test_script :
11
20
- dotnet test --configuration Release --no-build tests/React.Tests/React.Tests.csproj
12
21
artifacts :
13
22
- path : output\*.nupkg
23
+
You can’t perform that action at this time.
0 commit comments