From fe429dd2a1350220bdfb0833057165a19f56ebda Mon Sep 17 00:00:00 2001 From: Jonathan Peppers Date: Fri, 26 Mar 2021 04:25:09 -0500 Subject: [PATCH] [build] we don't need to install a system .NET 6 (#594) CI is currently downloading/installing .NET 6 twice, once via `UseDotNet` in `.yml` and again via `DotNet.csproj`. I don't think we actually need to do call `UseDotNet`, I was able to run `eng\package.ps1` without .NET 6 installed. --- eng/pipelines/handlers.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/eng/pipelines/handlers.yml b/eng/pipelines/handlers.yml index 58918555d..b95a580fb 100644 --- a/eng/pipelines/handlers.yml +++ b/eng/pipelines/handlers.yml @@ -194,11 +194,6 @@ stages: /usr/libexec/PlistBuddy -c "add :AppleSdkRoot string $(dirname $(dirname $(xcode-select -p)))" ~/Library/Preferences/Xamarin/Settings.plist || true cat ~/Library/Preferences/Xamarin/Settings.plist || true displayName: configure vsmac xcode - - ${{ if eq(BuildPlatform.name, 'windows') }}: - - task: UseDotNet@2 - inputs: - version: 6.x - includePreviewVersions: true - pwsh: ./eng/package.ps1 -configuration Release displayName: pack nugets errorActionPreference: stop