Skip to content

Commit a702e4f

Browse files
authored
installing .net core 3.1 in CI (#9231)
1 parent 76591f7 commit a702e4f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

build/install-dotnet.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
steps:
2+
- task: PowerShell@2
3+
displayName: 'Install .NET 3.1'
4+
inputs:
5+
targetType: 'inline'
6+
script: |
7+
Invoke-WebRequest 'https://dot.net/v1/dotnet-install.ps1' -OutFile 'dotnet-install.ps1'
8+
./dotnet-install.ps1 -InstallDir 'C:\Program Files\dotnet' -Verbose -Channel 3.1
29
- task: PowerShell@2
310
displayName: 'Install .NET 6'
411
inputs:
@@ -8,3 +15,4 @@ steps:
815
# Official release versions can be found at: https://dotnet.microsoft.com/download/dotnet/6.0
916
# Newer versions can be found at: https://github.com/dotnet/installer#installers-and-binaries
1017
./dotnet-install.ps1 -InstallDir 'C:\Program Files\dotnet' -Verbose -Channel 6.0
18+
& dotnet --info

0 commit comments

Comments
 (0)