Fix GitHub Releases
@@ -98,15 +98,17 @@ jobs:
linux:
image_name: 'ubuntu-16.04'
platform: 'linux'
+ rustup_toolchain: 'stable'
windows:
image_name: 'windows-latest'
platform: 'windows'
+ rustup_toolchain: 'stable'
#macos:
# image_name: 'macOS-10.13'
# platform: 'macos'
pool:
- image: $(image_name)
+ vmImage: $(image_name)
steps:
- bash: |
@@ -119,7 +121,6 @@ jobs:
- script: |
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain $RUSTUP_TOOLCHAIN
echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin"
- displayName: Install Rust
condition: ne( variables['Agent.OS'], 'Windows_NT' )
displayName: Install Rust
