From b228fd5a779e495786dc33e53ff2022a312e1f18 Mon Sep 17 00:00:00 2001 From: Kevin Locke Date: Wed, 20 Nov 2024 15:17:53 -0700 Subject: [PATCH] ci: use .NET 9.0 SDK The version must be specified explicitly due to https://github.com/actions/setup-dotnet/issues/497#issuecomment-2489645065 Signed-off-by: Kevin Locke --- .github/workflows/dotnet.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 943b507..9ea9467 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -33,8 +33,11 @@ jobs: - windows-latest dotnet: # Test using latest released SDK - # https://github.com/actions/setup-dotnet/pull/82 - - '*' + # Note: Wildcard version resolves to latest LTS, not latest/STS + # https://github.com/actions/setup-dotnet/issues/497#issuecomment-2489645065 + # - '*' + # Note: Must quote value to avoid 9.0 becoming 9, which silently fails. + - '9.0' # Uncomment to build using an earlier SDK version: # - 3.1 env: