From 56311d63519be67c1f2f44b104f27a75be836693 Mon Sep 17 00:00:00 2001 From: chenwj113 Date: Wed, 21 Aug 2024 16:32:37 +0800 Subject: [PATCH] fix: --- action.yml | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) 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