mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-22 13:25:30 +03:00
More fixes
This commit is contained in:
parent
2910107e03
commit
fc6492f11d
@ -31,8 +31,8 @@ commands:
|
|||||||
command: |
|
command: |
|
||||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||||
. "$HOME/.cargo/env"
|
. "$HOME/.cargo/env"
|
||||||
rustup toolchain install $RUST_VERSION --profile minimal
|
rustup install $RUST_VERSION
|
||||||
rustup default $RUST_VERSION
|
rustup override set $RUST_VERSION
|
||||||
cargo --version --verbose
|
cargo --version --verbose
|
||||||
rustc --version
|
rustc --version
|
||||||
if [ ! -f "Cargo.lock" ]; then
|
if [ ! -f "Cargo.lock" ]; then
|
||||||
@ -48,8 +48,8 @@ commands:
|
|||||||
command: |
|
command: |
|
||||||
$ProgressPreference = "SilentlyContinue"
|
$ProgressPreference = "SilentlyContinue"
|
||||||
choco uninstall rust
|
choco uninstall rust
|
||||||
Invoke-WebRequest -Uri "https://win.rustup.rs/" -OutFile "C:\rustup-init.exe"
|
Invoke-WebRequest -Uri "https://win.rustup.rs/" -OutFile "C:\\rustup-init.exe"
|
||||||
Start-Process .\rustup-init.exe -ArgumentList '-y' -Wait
|
Start-Process "C:\\rustup-init.exe" -ArgumentList '-y' -Wait
|
||||||
$Env:Path += ";$Env:USERPROFILE\.cargo\bin"
|
$Env:Path += ";$Env:USERPROFILE\.cargo\bin"
|
||||||
rustup install $Env:RUST_VERSION
|
rustup install $Env:RUST_VERSION
|
||||||
rustup default $Env:RUST_VERSION
|
rustup default $Env:RUST_VERSION
|
||||||
|
Loading…
Reference in New Issue
Block a user