Skip to content

Commit 1ff80d2

Browse files
authored
ci: Disable rustup self-update (#1278)
1 parent 79f4c9c commit 1ff80d2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,12 @@ jobs:
113113
steps:
114114
- uses: actions/checkout@v2
115115

116+
# When rustup is updated, it tries to replace its binary, which on Windows is somehow locked.
117+
# This can result in the CI failure, see: https://github.com/rust-lang/rustup/issues/3029
118+
- name: Disable rustup self-update
119+
shell: bash
120+
run: rustup set auto-self-update disable
121+
116122
- uses: actions-rs/toolchain@v1
117123
with:
118124
toolchain: stable-${{ matrix.arch }}-pc-windows-msvc

0 commit comments

Comments
 (0)