Skip to content

Commit 374ec9a

Browse files
authored
Update build.yml
1 parent 137881d commit 374ec9a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,14 @@ jobs:
3131
container:
3232
image: duskmoon/dev-env:rcore-ci
3333
steps:
34+
- name: Remove Cargo proxy config
35+
run: |
36+
unset RUSTUP_DIST_SERVER
37+
unset RUSTUP_UPDATE_ROOT
38+
unset CARGO_HTTP_MULTIPLEXING
39+
# 删除或重置全局配置
40+
rm ${CARGO_HOME}/config.toml || true
41+
rm -rf rm ${CARGO_HOME}/registry/* || true
3442
- uses: actions/checkout@v4
3543
- name: Run tests
3644
run: |

0 commit comments

Comments
 (0)