Skip to content

Commit 46d5827

Browse files
authored
fix(ci): update dotnet-version from 9.x to 10.x to match global.json (#141)
global.json requires SDK 10.0.103 with rollForward: latestFeature, but the workflow only installed .NET 9.x. The runner's pre-installed 10.0.102 didn't satisfy the minimum version requirement, causing `dotnet restore` to fail with "A compatible .NET SDK was not found."
1 parent cbf372a commit 46d5827

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/dotnet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Setup .NET
2222
uses: actions/setup-dotnet@v5
2323
with:
24-
dotnet-version: 9.x
24+
dotnet-version: 10.x
2525

2626
- name: Restore dependencies
2727
run: dotnet restore

0 commit comments

Comments
 (0)