Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1139e90fc3 | |||
| 60edc0b5b4 |
@@ -37,18 +37,17 @@ 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"
|
||||
}
|
||||
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: 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:
|
||||
|
||||
Reference in New Issue
Block a user