From 12c781bb8bd8dc871bf3ebf6f58d9482fd27806a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Gro=C3=9F?= Date: Sun, 25 Oct 2026 20:43:32 +0100 Subject: [PATCH] ci: pin the docs job's .NET 10 SDK to 10.0.402 (#461) The Build (10.x) leg resolved "latest 10.0" from release/10.x's global.json through an aka.ms link that now redirects to a host answering 409. An exact version downloads from builds.dotnet.microsoft.com. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/docs.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 5baaa05..2d13fdf 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -119,11 +119,14 @@ jobs: with: global-json-file: self/global.json + # An exact version, not line/global.json: resolving "latest 10.0" goes through an aka.ms link + # that redirects to a host answering 409, while an exact version downloads from builds.dotnet + # (#461). Only release/10.x reaches this step; move the pin with that line's global.json. - name: Setup .NET (${{ matrix.branch }}) if: matrix.branch != '' uses: actions/setup-dotnet@26b0ec14cb23fa6904739307f278c14f94c95bf1 # v5.4.0 with: - global-json-file: line/global.json + dotnet-version: 10.0.402 - name: Build the site run: self/site/build.sh "${{ matrix.branch != '' && 'line' || 'self' }}" "out/${{ matrix.folder }}" "${{ matrix.label }}"