You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found after upgrading to .NET 9, using global-json-file will cause following steps fail to find dotnet.
For old .NET 8, global-json-file way works well.
Platform:
Ubuntu
macOS
Windows
Runner type
Hosted
Self-hosted
Repro steps
Experiment 1 (Succeed when hard code dotnet-version)
hongbo-miao
changed the title
GitHub Actions fails to .NET 9.0 when use global-json-file
GitHub Actions fails to .NET 9 when use global-json-file
Dec 4, 2024
hongbo-miao
changed the title
GitHub Actions fails to .NET 9 when use global-json-file
GitHub Actions fails with .NET 9 when using global-json-file
Dec 6, 2024
Description
I found after upgrading to .NET 9, using
global-json-file
will cause following steps fail to finddotnet
.For old .NET 8,
global-json-file
way works well.Platform:
Runner type
Repro steps
Experiment 1 (Succeed when hard code
dotnet-version
)When hard code SDK version, and it can succeed:
Experiment 2 (Failed when read
dotnet-version
from global-json-file)When use
global-json-file
, correct version dotnet got installed successfully, however, in next step, when try to usedotnet
, it failed:hardware-in-the-loop/national-instruments/veristand/VeriStandZeroMQBridge/global.json
When try to use
dotnet
, it failed with:Expected behavior
I expect using
global-json-file
should also succeed for new .NET 9Actual behavior
It failed when use
global-json-file
for .NET 9The text was updated successfully, but these errors were encountered: