Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 60edc0b5b4 |
@@ -37,18 +37,18 @@ jobs:
|
|||||||
with: { node-version: 20 }
|
with: { node-version: 20 }
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
run: |
|
run: |
|
||||||
if (-not (Get-Command rustc -ErrorAction SilentlyContinue)) {
|
where rustc 2>nul || (
|
||||||
Invoke-WebRequest -Uri https://win.rustup.rs/x86_64 -OutFile rustup-init.exe
|
curl -L -o rustup-init.exe https://win.rustup.rs/x86_64 && rustup-init.exe -y --default-toolchain stable
|
||||||
.\rustup-init.exe -y --default-toolchain stable
|
)
|
||||||
$env:Path += ";$env:USERPROFILE\.cargo\bin"
|
set PATH=%USERPROFILE%\.cargo\bin;%PATH%
|
||||||
}
|
|
||||||
rustc --version
|
rustc --version
|
||||||
shell: powershell
|
shell: cmd
|
||||||
- name: Build frontend
|
- 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
|
- name: Build Tauri bundles
|
||||||
run: cd web; $env:Path += ";$env:USERPROFILE\.cargo\bin"; npx tauri build
|
run: cd web && set PATH=%USERPROFILE%\.cargo\bin;%PATH% && npx tauri build
|
||||||
shell: powershell
|
shell: cmd
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user