Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Commit

Permalink
actually use latest rustc in azure
Browse files Browse the repository at this point in the history
  • Loading branch information
EverlastingBugstopper committed Nov 20, 2019
1 parent ad86484 commit 210445a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ci/azure-install-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ parameters:
steps:
- bash: |
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain $TOOLCHAIN
rustup update $TOOLCHAIN
echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin"
displayName: Install rust - Unix
condition: ne( variables['Agent.OS'], 'Windows_NT' )
Expand All @@ -12,6 +13,7 @@ steps:
- script: |
curl -sSf -o rustup-init.exe https://win.rustup.rs
rustup-init.exe -y --default-toolchain %TOOLCHAIN%
rustup update %TOOLCHAIN%
echo "##vso[task.setvariable variable=PATH;]%PATH%;%USERPROFILE%\.cargo\bin"
displayName: Install rust - Windows
condition: eq( variables['Agent.OS'], 'Windows_NT' )
Expand Down

0 comments on commit 210445a

Please sign in to comment.