Skip to content

Commit b228fd5

Browse files
committed
ci: use .NET 9.0 SDK
The version must be specified explicitly due to actions/setup-dotnet#497 (comment) Signed-off-by: Kevin Locke <[email protected]>
1 parent 857bc4d commit b228fd5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/dotnet.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,11 @@ jobs:
3333
- windows-latest
3434
dotnet:
3535
# Test using latest released SDK
36-
# https://github.com/actions/setup-dotnet/pull/82
37-
- '*'
36+
# Note: Wildcard version resolves to latest LTS, not latest/STS
37+
# https://github.com/actions/setup-dotnet/issues/497#issuecomment-2489645065
38+
# - '*'
39+
# Note: Must quote value to avoid 9.0 becoming 9, which silently fails.
40+
- '9.0'
3841
# Uncomment to build using an earlier SDK version:
3942
# - 3.1
4043
env:

0 commit comments

Comments
 (0)