fix: Windows build — use cmd shell to avoid PowerShell execution policy
Release Desktop Apps / build-windows (push) Failing after 3h22m14s
Release Desktop Apps / build-linux (push) Has been cancelled
Release Desktop Apps / release (push) Has been cancelled

This commit is contained in:
2026-07-07 19:19:55 +00:00
parent 836bcd8b8d
commit 60edc0b5b4
+9 -9
View File
@@ -37,18 +37,18 @@ jobs:
with: { node-version: 20 }
- name: Install Rust
run: |
if (-not (Get-Command rustc -ErrorAction SilentlyContinue)) {
Invoke-WebRequest -Uri https://win.rustup.rs/x86_64 -OutFile rustup-init.exe
.\rustup-init.exe -y --default-toolchain stable
$env:Path += ";$env:USERPROFILE\.cargo\bin"
}
where rustc 2>nul || (
curl -L -o rustup-init.exe https://win.rustup.rs/x86_64 && rustup-init.exe -y --default-toolchain stable
)
set PATH=%USERPROFILE%\.cargo\bin;%PATH%
rustc --version
shell: powershell
shell: cmd
- name: Build frontend
run: cd web; npm ci; npm run build
run: cd web && npm ci && npm run build
shell: cmd
- name: Build Tauri bundles
run: cd web; $env:Path += ";$env:USERPROFILE\.cargo\bin"; npx tauri build
shell: powershell
run: cd web && set PATH=%USERPROFILE%\.cargo\bin;%PATH% && npx tauri build
shell: cmd
- name: Upload artifacts
uses: actions/upload-artifact@v4
with: