Open nZeus opened 10 months ago
Thank you for the detailed description of the issue! We will investigate it and come back with an update.
Hi, @nZeus 👋 Unfortunately, the setup-dotnet
currently supports only one rollForward
option - latestFeature
. I'm going to transform this bug report to the feature request.
Description: When
rollForward
is set tolatestMinor
andsdk.version
is set to7.0.0
, I expect the script to use the latest installed version of .NET SDK (https://learn.microsoft.com/en-us/dotnet/core/tools/global-json). But instead the script crashes withFailed to install dotnet
error:Task version: Specify the task version
Platform:
Runner type:
Repro steps:
ubuntu-22.04
runner (with pre-installed .NET SDK7.0.306
)global.json
:Expected behavior: The script should use the highest installed minor version of .NET SDK
Actual behavior: An error:
Failed to install dotnet, exit code: 1. dotnet_install: Error: Could not find '.NET Core SDK' with version = 7.0.0