From 1988bc0a922c17b6e78d511489496818448e7cbe Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Wed, 11 Jun 2025 09:53:07 +0200 Subject: [PATCH] ci(scalar): work around bug in `actions/setup-dotnet` The bug is actually https://github.com/dotnet/install-scripts/issues/610 and it seems that _somehow_ the logic to determine the latest version is broken with cURL v8.14.0. Hard-coding the latest version seems to fix this. Note: https://dotnet.microsoft.com/en-us/download/dotnet/3.1 says that v3.1.426 is the latest. This site also says that .NET Core 3.1 is out of support, and therefore it is unlikely that a different "latest" version is going to materialize, like, ever. Signed-off-by: Johannes Schindelin --- .github/workflows/scalar-functional-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/scalar-functional-tests.yml b/.github/workflows/scalar-functional-tests.yml index 6bf972709ab031..2050d8ff7eb6aa 100644 --- a/.github/workflows/scalar-functional-tests.yml +++ b/.github/workflows/scalar-functional-tests.yml @@ -126,7 +126,7 @@ jobs: - name: Setup .NET Core uses: actions/setup-dotnet@v4 with: - dotnet-version: '3.1.x' + dotnet-version: '3.1.426' - name: Install dependencies run: dotnet restore