-
Notifications
You must be signed in to change notification settings - Fork 447
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Pin to .NET8 SDK * Pin to .NET8 SDK * Install .net sdk not runtime * Install .net sdk for initialize pipeline * Handle rate limiting as warning, continue * Improve warning message
- Loading branch information
Showing
4 changed files
with
41 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,16 @@ | ||
steps: | ||
- task: PowerShell@2 | ||
- task: UseDotNet@2 # Needed by some of our test resources | ||
displayName: 'Install .NET 3.1' | ||
inputs: | ||
targetType: 'inline' | ||
script: | | ||
Invoke-WebRequest 'https://dot.net/v1/dotnet-install.ps1' -OutFile 'dotnet-install.ps1' | ||
./dotnet-install.ps1 -InstallDir 'C:\Program Files\dotnet' -Verbose -Channel 3.1 | ||
- task: PowerShell@2 | ||
packageType: sdk | ||
version: 3.1.x | ||
- task: UseDotNet@2 # Needed by our projects and CI steps | ||
displayName: 'Install .NET 6' | ||
inputs: | ||
targetType: 'inline' | ||
script: | | ||
Invoke-WebRequest 'https://dot.net/v1/dotnet-install.ps1' -OutFile 'dotnet-install.ps1' | ||
# Official release versions can be found at: https://dotnet.microsoft.com/download/dotnet/6.0 | ||
# Newer versions can be found at: https://github.com/dotnet/installer#installers-and-binaries | ||
./dotnet-install.ps1 -InstallDir 'C:\Program Files\dotnet' -Verbose -Channel 6.0 | ||
& dotnet --info | ||
packageType: sdk | ||
version: 6.x | ||
- task: UseDotNet@2 # The pinned SDK we use to build | ||
displayName: 'Install .NET SDK from global.json' | ||
inputs: | ||
packageType: sdk | ||
useGlobalJson: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"sdk": { | ||
"version": "8.0.101", | ||
"rollForward": "latestFeature" | ||
}, | ||
"msbuild-sdks": { | ||
"Microsoft.Build.NoTargets": "3.7.56", | ||
"Microsoft.Build.Traversal": "4.1.0" | ||
} | ||
} |