Skip to content

Commit 1dbb2b5

Browse files
Update appveyor: Use .net core 3 preview sdk
1 parent 5d487aa commit 1dbb2b5

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

appveyor.yml

+10
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,20 @@ install:
44
- set PATH=%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\;%PATH%
55
- ps: Install-Product node 10
66
- 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
716
build:
817
project: build.proj
918
verbosity: normal
1019
test_script:
1120
- dotnet test --configuration Release --no-build tests/React.Tests/React.Tests.csproj
1221
artifacts:
1322
- path: output\*.nupkg
23+

0 commit comments

Comments
 (0)