Skip to content

Commit 53a30a5

Browse files
committed
workflow bug fix
1 parent 90f05ef commit 53a30a5

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,9 @@ 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
4234
- uses: actions/checkout@v4
4335
- name: Run tests
4436
run: |
45-
cargo install cargo-binutils —-locked
4637
qemu-system-riscv64 --version
4738
rustup target add riscv64gc-unknown-none-elf
4839
git config --global --add safe.directory /__w/${{ github.event.repository.name }}/${{ github.event.repository.name }}
@@ -116,4 +107,4 @@ jobs:
116107
else
117108
echo "Error: The result field does not contain 1."
118109
exit 1
119-
fi
110+
fi

0 commit comments

Comments
 (0)