fix: use powershell -Command for download, keep shell:cmd for execution
Release Desktop Apps / build-windows (push) Failing after 3h15m29s
Release Desktop Apps / build-linux (push) Failing after 3m21s
Release Desktop Apps / release (push) Has been skipped

This commit is contained in:
2026-07-07 19:46:27 +00:00
parent 60edc0b5b4
commit 1139e90fc3
+2 -3
View File
@@ -37,9 +37,8 @@ jobs:
with: { node-version: 20 }
- name: Install Rust
run: |
where rustc 2>nul || (
curl -L -o rustup-init.exe https://win.rustup.rs/x86_64 && rustup-init.exe -y --default-toolchain stable
)
powershell -ExecutionPolicy Bypass -Command "Invoke-WebRequest -Uri https://win.rustup.rs/x86_64 -OutFile rustup-init.exe"
rustup-init.exe -y --default-toolchain stable
set PATH=%USERPROFILE%\.cargo\bin;%PATH%
rustc --version
shell: cmd