Closed
Description
Description:
Lines 278 to 279 in 67a3573
This says it unconditionally installs "the latest stable version" but it doesn't, it installs LTS (8). STS would be the latest stable version (9).
Task version:
v4
Platform:
- Ubuntu
- macOS
- Windows
Runner type:
- Hosted
- Self-hosted
Repro steps:
Run the task, although note whatever version of .NET you ask for is irrelevant, this is about the step that unconditionally installed the dotnet runtime to get at dotnet
.
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.x'
Expected behavior:
.NET 9 runtime is installed before the user specified version.
Actual behavior:
.NET 8 runtime is installed before the user specified version.