From 8b597510382abb0d2856c110ec7b881e35dcc474 Mon Sep 17 00:00:00 2001 From: soul-walker <31162815+soul-walker@users.noreply.github.com> Date: Sun, 15 Sep 2024 10:50:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9CICD=E5=B0=86Rust=E4=BB=A3?= =?UTF-8?q?=E7=90=86export=E5=86=99=E5=85=A5bashrc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/cicd_local_test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/cicd_local_test.yml b/.gitea/workflows/cicd_local_test.yml index d3a6578..895cb4b 100644 --- a/.gitea/workflows/cicd_local_test.yml +++ b/.gitea/workflows/cicd_local_test.yml @@ -17,6 +17,8 @@ jobs: run: | export RUSTUP_DIST_SERVER="https://rsproxy.cn" export RUSTUP_UPDATE_ROOT="https://rsproxy.cn/rustup" + echo "export RUSTUP_DIST_SERVER=\"https://rsproxy.cn\"" >> ~/.bashrc + echo "export RUSTUP_UPDATE_ROOT=\"https://rsproxy.cn/rustup\"" >> ~/.bashrc curl --proto '=https' --tlsv1.2 -sSf https://rsproxy.cn/rustup-init.sh | sh -s -- -y mkdir -p ~/.cargo echo '[source.crates-io]' > ~/.cargo/config.toml