diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 4a5f2c30ca..472405bfa7 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -88,7 +88,24 @@ runs: :: Export to all steps. >>%GITHUB_ENV% set + # setup-uv aborts its download after about five seconds. Behind a Darkbloom + # sandbox's egress proxy the connection sometimes takes longer (two Mac jobs + # on 2026-11-14 failed this way), and a native job has no hosted fallback. + # Only when the first try failed, wait and try once more. - uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0 + id: setup-uv + continue-on-error: true + with: + enable-cache: false + quiet: true + + - name: Wait before the second uv setup + if: steps.setup-uv.outcome == 'failure' + shell: bash + run: sleep 15 + + - uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0 + if: steps.setup-uv.outcome == 'failure' with: enable-cache: false quiet: true