修改CICD安装Rust环境bug
build / build-rust (push) Failing after 52s
Details
build / build-rust (push) Failing after 52s
Details
This commit is contained in:
parent
2ac1c1b826
commit
d50404736f
|
@ -18,6 +18,7 @@ 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
|
||||
mkdir -p ~/.cargo
|
||||
echo '[source.crates-io]' > ~/.cargo/config.toml
|
||||
echo 'replace-with = "rsproxy-sparse"' >> ~/.cargo/config.toml
|
||||
|
|
Loading…
Reference in New Issue