Skip to content

Commit

Permalink
ci: Disable rustup self-update (#1278)
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilogorek committed Jul 12, 2022
1 parent 79f4c9c commit 1ff80d2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,12 @@ jobs:
steps:
- uses: actions/checkout@v2

# 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
- name: Disable rustup self-update
shell: bash
run: rustup set auto-self-update disable

- uses: actions-rs/toolchain@v1
with:
toolchain: stable-${{ matrix.arch }}-pc-windows-msvc
Expand Down

0 comments on commit 1ff80d2

Please sign in to comment.