diff --git a/action.yml b/action.yml index 5f2fd3e..9c93f71 100644 --- a/action.yml +++ b/action.yml @@ -115,21 +115,29 @@ runs: if [[ ! -f ~/.cargo/config ]]; then mkdir -p ~/.cargo cat > ~/.cargo/config < /dev/null ; then + curl --proto '=https' --tlsv1.2 --retry 10 --retry-connrefused -fsSL "https://rsproxy.cn/rustup-init.sh" | sh -s -- --default-toolchain none -y fi - name: Install Rust toolchain