fix(ci): use curl and CI=true to prevent Windows runner hang

This commit is contained in:
2026-07-16 10:26:41 -04:00
parent 87a49118b5
commit 6a24b6f335
+4 -2
View File
@@ -37,8 +37,8 @@ jobs:
with: { node-version: 20 }
- name: Install Rust
run: |
powershell -ExecutionPolicy Bypass -Command "Invoke-WebRequest -Uri https://win.rustup.rs/x86_64 -OutFile rustup-init.exe"
rustup-init.exe -y --default-toolchain stable
curl.exe -sLO https://win.rustup.rs/x86_64/rustup-init.exe
rustup-init.exe -y --default-toolchain stable --profile minimal
set PATH=%USERPROFILE%\.cargo\bin;%PATH%
rustc --version
shell: cmd
@@ -46,6 +46,8 @@ jobs:
run: cd web && npm ci && npm run build
shell: cmd
- name: Build Tauri bundles
env:
CI: "true"
run: cd web && set PATH=%USERPROFILE%\.cargo\bin;%PATH% && npx tauri build
shell: cmd
- name: Upload artifacts