[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.
This commit is contained in:
Jonathan Peppers 2021-03-26 04:25:09 -05:00 коммит произвёл GitHub
Родитель e966c105ce
Коммит fe429dd2a1
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 0 добавлений и 5 удалений

Просмотреть файл

@ -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