修改CICD,使用软链接处理Rust环境问题,删除sudo
All checks were successful
build / build-rust (push) Successful in 6m6s
All checks were successful
build / build-rust (push) Successful in 6m6s
This commit is contained in:
parent
eb239b659a
commit
b868507bb0
@ -32,7 +32,7 @@ jobs:
|
|||||||
echo '[net]' >> ~/.cargo/config.toml
|
echo '[net]' >> ~/.cargo/config.toml
|
||||||
echo 'git-fetch-with-cli = true' >> ~/.cargo/config.toml
|
echo 'git-fetch-with-cli = true' >> ~/.cargo/config.toml
|
||||||
cat $HOME/.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
|
- uses: https://gitea.joylink.club/actions/rust-cache@v2
|
||||||
- name: build Release
|
- name: build Release
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user