1
0
Fork 0
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:
Bert Belder 2019-01-14 03:28:56 +01:00
parent 3c1a0ad19e
commit eab457ef95
No known key found for this signature in database
GPG key ID: 7A77887B2E2ED461
2 changed files with 4 additions and 4 deletions

View file

@ -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",

View file

@ -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