From 72168786cf7e41a1d02068c4ee8adc7248577ab5 Mon Sep 17 00:00:00 2001 From: Philippe Matray Date: Sat, 28 Feb 2026 13:05:53 +0100 Subject: [PATCH] fix(ci): update dotnet-version from 8.x to 10.x to match global.json global.json requires SDK 10.0.103 but the workflow only installed 8.x, causing "A compatible .NET SDK was not found" in all jobs. --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1aae833..0a15e18 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -39,7 +39,7 @@ jobs: # - name: Setup .NET SDK # uses: actions/setup-dotnet@v5 # with: -# dotnet-version: 8.x +# dotnet-version: 10.x # # - name: Run Unit Tests # run: dotnet test --configuration Release --verbosity normal --collect:"XPlat Code Coverage" @@ -58,7 +58,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v5 with: - dotnet-version: 8.x + dotnet-version: 10.x # Create the NuGet package in the folder from the environment variable NuGetDirectory - run: dotnet pack --configuration Release --output ${{ env.NuGetDirectory }} @@ -79,7 +79,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v5 with: - dotnet-version: 8.x + dotnet-version: 10.x # Download the NuGet package created in the previous job - uses: actions/download-artifact@v8 @@ -126,7 +126,7 @@ jobs: - name: Setup .NET Core uses: actions/setup-dotnet@v5 with: - dotnet-version: 8.x + dotnet-version: 10.x # Publish all NuGet packages to NuGet.org # Use --skip-duplicate to prevent errors if a package with the same version already exists.