修改CICD问题
Some checks failed
build / build-rust (push) Failing after 55s

This commit is contained in:
soul-walker 2024-09-15 00:38:05 +08:00
parent 3a35510b57
commit 2ac1c1b826

View File

@ -17,7 +17,7 @@ jobs:
run: |
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
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
echo 'replace-with = "rsproxy-sparse"' >> ~/.cargo/config.toml