From c1b2e709896976f2d506bb70bcea2db4141d6811 Mon Sep 17 00:00:00 2001 From: soul-walker <31162815+soul-walker@users.noreply.github.com> Date: Sun, 15 Sep 2024 09:59:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9CICD=E5=AE=89=E8=A3=85Rust?= =?UTF-8?q?=E7=8E=AF=E5=A2=83bug2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/cicd_local_test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/cicd_local_test.yml b/.gitea/workflows/cicd_local_test.yml index 83e85de..223b6cd 100644 --- a/.gitea/workflows/cicd_local_test.yml +++ b/.gitea/workflows/cicd_local_test.yml @@ -18,7 +18,9 @@ jobs: export RUSTUP_DIST_SERVER="https://rsproxy.cn" export RUSTUP_UPDATE_ROOT="https://rsproxy.cn/rustup" curl --proto '=https' --tlsv1.2 -sSf https://rsproxy.cn/rustup-init.sh | sh -s -- -y - . $HOME/.cargo/env + echo "\n execute source $HOME/.cargo/env and validate rustup version" + . "$HOME/.cargo/env" + rustup --version mkdir -p ~/.cargo echo '[source.crates-io]' > ~/.cargo/config.toml echo 'replace-with = "rsproxy-sparse"' >> ~/.cargo/config.toml