修改CICD,使用软链接处理Rust环境问题,删除sudo
All checks were successful
build / build-rust (push) Successful in 6m6s

This commit is contained in:
soul-walker 2024-09-15 14:19:36 +08:00
parent eb239b659a
commit b868507bb0

View File

@ -32,7 +32,7 @@ jobs:
echo '[net]' >> ~/.cargo/config.toml
echo 'git-fetch-with-cli = true' >> ~/.cargo/config.toml
cat $HOME/.cargo/config.toml
sudo ln -sf $HOME/.cargo/bin/* /usr/local/bin/
ln -sf $HOME/.cargo/bin/* /usr/local/bin/
- uses: https://gitea.joylink.club/actions/rust-cache@v2
- name: build Release
run: |