fix(ci): use curl and CI=true to prevent Windows runner hang
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user