mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 15:24:46 -05:00
ci: upgrade rust to version 1.31.1
This commit is contained in:
parent
3c1a0ad19e
commit
eab457ef95
2 changed files with 4 additions and 4 deletions
|
@ -303,7 +303,7 @@ install:
|
|||
Invoke-WebRequest -Uri "https://win.rustup.rs" `
|
||||
-OutFile "$env:TEMP\rustup-init.exe"
|
||||
Exec -NoNewLines {
|
||||
& "$env:TEMP\rustup-init.exe" -y --default-toolchain 1.30.0
|
||||
& "$env:TEMP\rustup-init.exe" -y --default-toolchain 1.31.1
|
||||
}
|
||||
Delete-Tree @(
|
||||
"$env:RUSTUP_HOME\downloads",
|
||||
|
|
|
@ -32,9 +32,9 @@ install:
|
|||
# Install Rust.
|
||||
# TODO(ry) Include rustc in third_party.
|
||||
# https://github.com/denoland/deno/issues/386
|
||||
if [ ! $(rustc --version | grep 1.30.0) ]; then
|
||||
curl -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.30.0
|
||||
rustup default 1.30.0
|
||||
if [ ! $(rustc --version | grep 1.31.1) ]; then
|
||||
curl -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.31.1
|
||||
rustup default 1.31.1
|
||||
fi
|
||||
rustc --version
|
||||
cargo --version
|
||||
|
|
Loading…
Reference in a new issue