mirror of
https://github.com/getzola/zola
synced 2024-12-13 22:02:29 +00:00
Fix Windows CI
This commit is contained in:
parent
782cc7d686
commit
bef7f8c6d5
1 changed files with 2 additions and 0 deletions
|
@ -70,8 +70,10 @@ stages:
|
||||||
displayName: Install rust
|
displayName: Install rust
|
||||||
condition: ne( variables['Agent.OS'], 'Windows_NT' )
|
condition: ne( variables['Agent.OS'], 'Windows_NT' )
|
||||||
- script: |
|
- script: |
|
||||||
|
set CARGO_HOME=%USERPROFILE%\.cargo
|
||||||
curl -sSf -o rustup-init.exe https://win.rustup.rs
|
curl -sSf -o rustup-init.exe https://win.rustup.rs
|
||||||
rustup-init.exe -y --default-toolchain %RUSTUP_TOOLCHAIN%
|
rustup-init.exe -y --default-toolchain %RUSTUP_TOOLCHAIN%
|
||||||
|
set PATH=%PATH%;%USERPROFILE%\.cargo\bin
|
||||||
echo "##vso[task.setvariable variable=PATH;]%PATH%;%USERPROFILE%\.cargo\bin"
|
echo "##vso[task.setvariable variable=PATH;]%PATH%;%USERPROFILE%\.cargo\bin"
|
||||||
displayName: Windows install rust
|
displayName: Windows install rust
|
||||||
condition: eq( variables['Agent.OS'], 'Windows_NT' )
|
condition: eq( variables['Agent.OS'], 'Windows_NT' )
|
||||||
|
|
Loading…
Reference in a new issue