fix: 更改action内容

This commit is contained in:
chenwj113 2024-08-21 16:13:53 +08:00
parent 3c51f90286
commit 5b4ddd6a3e
1 changed files with 2 additions and 2 deletions

View File

@ -107,10 +107,10 @@ runs:
echo "CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse" >> $GITHUB_ENV
fi
if [[ ! -v RUSTUP_DIST_SERVER ]]; then
echo "RUSTUP_DIST_SERVER=\"https://rsproxy.cn\"" >> $GITHUB_ENV
echo "RUSTUP_DIST_SERVER=https://rsproxy.cn" >> $GITHUB_ENV
fi
if [[ ! -v RUSTUP_UPDATE_ROOT ]]; then
echo "RUSTUP_UPDATE_ROOT=\"https://rsproxy.cn/rustup\"" >> $GITHUB_ENV
echo "RUSTUP_UPDATE_ROOT=https://rsproxy.cn/rustup" >> $GITHUB_ENV
fi
- name: Install Rust Problem Matcher