Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1139e90fc3 |
@@ -37,9 +37,8 @@ jobs:
|
|||||||
with: { node-version: 20 }
|
with: { node-version: 20 }
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
run: |
|
run: |
|
||||||
where rustc 2>nul || (
|
powershell -ExecutionPolicy Bypass -Command "Invoke-WebRequest -Uri https://win.rustup.rs/x86_64 -OutFile rustup-init.exe"
|
||||||
curl -L -o rustup-init.exe https://win.rustup.rs/x86_64 && rustup-init.exe -y --default-toolchain stable
|
rustup-init.exe -y --default-toolchain stable
|
||||||
)
|
|
||||||
set PATH=%USERPROFILE%\.cargo\bin;%PATH%
|
set PATH=%USERPROFILE%\.cargo\bin;%PATH%
|
||||||
rustc --version
|
rustc --version
|
||||||
shell: cmd
|
shell: cmd
|
||||||
|
|||||||
Reference in New Issue
Block a user