Skip to content

Commit

Permalink
fix(ci/windows): skip rustup install if Rust if already installed
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Lubinets committed Mar 29, 2019
1 parent 4fa6844 commit 6f0a89e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ci/install_rust.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
if (Test-Path -Path C:\Users\jenkins\.cargo\bin\rustup.exe) {
exit
}

$client = new-object System.Net.WebClient
$client.DownloadFile('https://win.rustup.rs', "$pwd\rustup-init.exe")
.\rustup-init.exe -y

0 comments on commit 6f0a89e

Please sign in to comment.