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 }}"