Skip to content

Commit 33a5b93

Browse files
authored
Merge pull request #9 from rustwasm/ci-fix
fix(ci): Installing rust on Windows
2 parents cd92239 + dbe8a8a commit 33a5b93

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

ci/azure-install-rust.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,7 @@ steps:
1010
env:
1111
TOOLCHAIN: ${{ parameters.toolchain }}
1212
13-
- script: |
14-
curl -sSf -o rustup-init.exe https://win.rustup.rs
15-
rustup-init.exe -y --default-toolchain %TOOLCHAIN%
16-
echo "##vso[task.setvariable variable=PATH;]%PATH%;%USERPROFILE%\.cargo\bin"
13+
- bash: rustup update --no-self-update $TOOLCHAIN && rustup default $TOOLCHAIN
1714
displayName: Install rust - Windows
1815
condition: eq( variables['Agent.OS'], 'Windows_NT' )
1916
env:

0 commit comments

Comments
 (0)