Skip to content

Commit

Permalink
Set CARGO_NET_RETRY and RUSTUP_MAX_RETRIES
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Jan 17, 2023
1 parent fcff22f commit fa33c9a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ warn() {
echo "::warning::$*"
}

export CARGO_NET_RETRY=10
export RUSTUP_MAX_RETRIES=10

if [[ $# -gt 0 ]]; then
bail "invalid argument '$1'"
fi
Expand Down

0 comments on commit fa33c9a

Please sign in to comment.