@@ -3,33 +3,33 @@ parameters:
3
3
4
4
steps :
5
5
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
11
11
12
12
# 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 -c 9 .0 -q daily -InstallDir $DotNetRoot
17
-
18
- # condition: and(succeeded(), eq( variables['Agent.OS'], 'Windows_NT' ))
19
- # displayName: 'Setup .NET (Windows)'
20
-
21
- # - pwsh: |
22
- # wget https://dot.net/v1/dotnet-install.sh
23
- # chmod +x dotnet-install.sh
24
- # ./dotnet-install.sh -c 9 .0 -q daily
25
- # echo "[task.setvariable variable=PATH;]${env:PATH}:$env:HOME/.dotnet"
26
- # echo "[task.setvariable variable=DOTNET_ROOT;]$env:HOME/.dotnet"
27
-
28
- # echo "##vso[task.setvariable variable=PATH;]$env:HOME/.dotnet:${env:PATH}"
29
- # echo "##vso[task.setvariable variable=DOTNET_ROOT;]$env:HOME/.dotnet"
30
-
31
- # condition: and(succeeded(), ne( variables['Agent.OS'], 'Windows_NT' ))
32
- # displayName: 'Setup .NET (Linux/macOS)'
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 -c 10 .0 -q daily -InstallDir $DotNetRoot
17
+
18
+ condition: and(succeeded(), eq( variables['Agent.OS'], 'Windows_NT' ))
19
+ displayName: 'Setup .NET (Windows)'
20
+
21
+ - pwsh : |
22
+ wget https://dot.net/v1/dotnet-install.sh
23
+ chmod +x dotnet-install.sh
24
+ ./dotnet-install.sh -c 10 .0 -q daily
25
+ echo "[task.setvariable variable=PATH;]${env:PATH}:$env:HOME/.dotnet"
26
+ echo "[task.setvariable variable=DOTNET_ROOT;]$env:HOME/.dotnet"
27
+
28
+ echo "##vso[task.setvariable variable=PATH;]$env:HOME/.dotnet:${env:PATH}"
29
+ echo "##vso[task.setvariable variable=DOTNET_ROOT;]$env:HOME/.dotnet"
30
+
31
+ condition: and(succeeded(), ne( variables['Agent.OS'], 'Windows_NT' ))
32
+ displayName: 'Setup .NET (Linux/macOS)'
33
33
34
34
- pwsh : |
35
35
cd src
0 commit comments