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