mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Retry the rustup download on appveyor if it fails
This commit is contained in:
@@ -52,7 +52,7 @@ cache:
|
|||||||
# For simple configurations, instead of using the build matrix, you can simply set the
|
# For simple configurations, instead of using the build matrix, you can simply set the
|
||||||
# default-toolchain and default-host manually here.
|
# default-toolchain and default-host manually here.
|
||||||
install:
|
install:
|
||||||
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
|
- appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
|
||||||
- rustup-init -yv --default-toolchain %channel% --default-host %target%
|
- rustup-init -yv --default-toolchain %channel% --default-host %target%
|
||||||
- set PATH=%PATH%;%USERPROFILE%\.cargo\bin
|
- set PATH=%PATH%;%USERPROFILE%\.cargo\bin
|
||||||
- rustc -vV
|
- rustc -vV
|
||||||
|
|||||||
Reference in New Issue
Block a user