Skip to content

Commit dccf2cc

Browse files
committed
chore: Adjust windows .net install
1 parent 859201a commit dccf2cc

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

build/ci/dotnet-install.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,20 @@ parameters:
33

44
steps:
55

6-
# - task: UseDotNet@2
7-
# displayName: 'Use .NET SDK'
8-
# inputs:
9-
# version: ${{ parameters.DotNetVersion }}
10-
# includePreviewVersions: true
6+
- task: UseDotNet@2
7+
displayName: 'Use .NET SDK'
8+
inputs:
9+
version: ${{ parameters.DotNetVersion }}
10+
includePreviewVersions: true
1111

1212
# Daily builds install
13-
- pwsh: |
14-
$DotNetRoot = "C:\hostedtoolcache\windows\dotnet"
15-
Invoke-WebRequest "https://dot.net/v1/dotnet-install.ps1" -OutFile "./build/installcli.ps1"
16-
& ./build/installcli.ps1 -v 10.0.100-preview.3.25201.16 -InstallDir $DotNetRoot
13+
# - pwsh: |
14+
# $DotNetRoot = "C:\hostedtoolcache\windows\dotnet"
15+
# Invoke-WebRequest "https://dot.net/v1/dotnet-install.ps1" -OutFile "./build/installcli.ps1"
16+
# & ./build/installcli.ps1 -v 10.0.100-preview.3.25201.16 -InstallDir $DotNetRoot
1717

18-
condition: and(succeeded(), eq( variables['Agent.OS'], 'Windows_NT' ))
19-
displayName: 'Setup .NET (Windows)'
18+
# condition: and(succeeded(), eq( variables['Agent.OS'], 'Windows_NT' ))
19+
# displayName: 'Setup .NET (Windows)'
2020

2121
- pwsh: |
2222
wget https://dot.net/v1/dotnet-install.sh

0 commit comments

Comments
 (0)