File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,13 +18,13 @@ pool:
18
18
19
19
steps :
20
20
- pwsh : |
21
- Invoke-WebRequest 'https://raw.githubusercontent.com/dotnet/cli/master/ scripts/obtain /dotnet-install.ps1' -OutFile 'dotnet-install.ps1'
21
+ Invoke-WebRequest 'https://raw.githubusercontent.com/dotnet/install- scripts/main/src /dotnet-install.ps1' -OutFile 'dotnet-install.ps1'
22
22
./dotnet-install.ps1 -InstallDir "$env:ProgramFiles/dotnet" -Version "6.0.100" -Channel 'release'
23
23
displayName : ' Install the .Net version used by the Core Tools for Windows'
24
24
condition : eq( variables['Agent.OS'], 'Windows_NT' )
25
25
26
26
- bash : |
27
- curl -sSL https://raw.githubusercontent.com/dotnet/cli/master/ scripts/obtain /dotnet-install.sh | sudo bash /dev/stdin -v '6.0.100' -c 'release' --install-dir /usr/share/dotnet
27
+ curl -sSL https://raw.githubusercontent.com/dotnet/install- scripts/main/src /dotnet-install.sh | sudo bash /dev/stdin -v '6.0.100' -c 'release' --install-dir /usr/share/dotnet
28
28
displayName : ' Install the .Net version used by the Core Tools for Linux'
29
29
condition : eq( variables['Agent.OS'], 'Linux' )
30
30
Original file line number Diff line number Diff line change @@ -59,13 +59,13 @@ steps:
59
59
displayName : ' Running UnitTest'
60
60
61
61
- pwsh : |
62
- Invoke-WebRequest 'https://raw.githubusercontent.com/dotnet/cli/master/ scripts/obtain /dotnet-install.ps1' -OutFile 'dotnet-install.ps1'
62
+ Invoke-WebRequest 'https://raw.githubusercontent.com/dotnet/install- scripts/main/src /dotnet-install.ps1' -OutFile 'dotnet-install.ps1'
63
63
./dotnet-install.ps1 -InstallDir "$env:ProgramFiles/dotnet" -Version "6.0.100" -Channel 'release'
64
64
displayName : ' Install the .Net version used by the Core Tools for Windows'
65
65
condition : eq( variables['Agent.OS'], 'Windows_NT' )
66
66
67
67
- bash : |
68
- curl -sSL https://raw.githubusercontent.com/dotnet/cli/master/ scripts/obtain /dotnet-install.sh | sudo bash /dev/stdin -v '6.0.100' -c 'release' --install-dir /usr/share/dotnet
68
+ curl -sSL https://raw.githubusercontent.com/dotnet/install- scripts/main/src /dotnet-install.sh | sudo bash /dev/stdin -v '6.0.100' -c 'release' --install-dir /usr/share/dotnet
69
69
displayName : ' Install the .Net version used by the Core Tools for Linux'
70
70
condition : eq( variables['Agent.OS'], 'Linux' )
71
71
You can’t perform that action at this time.
0 commit comments