Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

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

Adam Perry @ OpenAI80a0c1da88df
diff --git a/.github/actions/setup-ci/action.yml b/.github/actions/setup-ci/action.yml
index e0990d7a82..3f1fa02765 100644
--- a/.github/actions/setup-ci/action.yml
+++ b/.github/actions/setup-ci/action.yml
@@ -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