This commit is contained in:
chenwj113 2024-08-21 17:01:12 +08:00
parent e3fcef5516
commit c54b2521ec
1 changed files with 1 additions and 0 deletions

View File

@ -113,6 +113,7 @@ runs:
echo "RUSTUP_UPDATE_ROOT=https://rsproxy.cn/rustup" >> $GITHUB_ENV
fi
if [[ ! -f ~/.cargo/config ]]; then
touch ~/.cargo/config
echo "[source.crates-io]" > ~/.cargo/config
echo "replace-with = 'rsproxy-sparse'" >> ~/.cargo/config
echo "[source.rsproxy]" >> ~/.cargo/config