Configure curl retries for DotSlash installation in CI (#47693)

Create a temporary `.curlrc` containing `retry-all-errors` and set
`CURL_HOME` for the DotSlash installer in the shared CI setup action.

GitOrigin-RevId: 920a71c1d1e42016e46c3dd01baa97e082cb4045
This commit is contained in:
Adam Perry @ OpenAI
2026-09-23 23:04:14 +00:00
committed by copyberry
parent b4b055cfc8
commit 80a0c1da88
+6
View File
@@ -76,8 +76,14 @@ runs:
shell: bash
run: echo "CARGO_NET_GIT_FETCH_WITH_CLI=true" >> "$GITHUB_ENV"
- name: Configure curl retries for DotSlash
shell: bash
run: mkdir -p "$RUNNER_TEMP/dotslash-curl" && echo retry-all-errors > "$RUNNER_TEMP/dotslash-curl/.curlrc"
- name: Install DotSlash
uses: facebook/install-dotslash@1e4e7b3e07eaca387acb98f1d4720e0bee8dbb6a # v2
env:
CURL_HOME: ${{ runner.temp }}/dotslash-curl
- name: Install just
uses: taiki-e/install-action@44c6d64aa62cd779e873306675c7a58e86d6d532 # v2.62.49