3
0
Fork 0
mirror of https://github.com/Swatinem/rust-cache synced 2025-08-17 18:32:17 +00:00

ci: Disable rustup self-updates (#68)

This commit is contained in:
Kamil Ogórek 2022-08-09 14:23:59 +02:00 committed by GitHub
parent 6720f05bc4
commit 90429b3dea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 28 additions and 5 deletions

View file

@ -18,7 +18,11 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: rustup toolchain install stable --profile minimal --target wasm32-unknown-unknown
# When rustup is updated, it tries to replace its binary, which on Windows is somehow locked.
# This can result in the CI failure, see: https://github.com/rust-lang/rustup/issues/3029
- run: |
rustup set auto-self-update disable
rustup toolchain install stable --profile minimal --target wasm32-unknown-unknown
- uses: ./
with: