Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 836bcd8b8d | |||
| 8fd649356c |
@@ -35,11 +35,20 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with: { node-version: 20 }
|
with: { node-version: 20 }
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- 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"
|
||||||
|
}
|
||||||
|
rustc --version
|
||||||
|
shell: powershell
|
||||||
- name: Build frontend
|
- name: Build frontend
|
||||||
run: cd web; npm ci; npm run build
|
run: cd web; npm ci; npm run build
|
||||||
- name: Build Tauri bundles
|
- name: Build Tauri bundles
|
||||||
run: cd web; npx tauri build
|
run: cd web; $env:Path += ";$env:USERPROFILE\.cargo\bin"; npx tauri build
|
||||||
|
shell: powershell
|
||||||
- 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