Skip to content

build-windows

build-windows #3

Workflow file for this run

name: 'build-windows'
on:
workflow_dispatch:
jobs:
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
with:
bun-version: 1.1.10
- name: install Rust stable
uses: dtolnay/rust-toolchain@stable
- name: Rust cache
uses: swatinem/rust-cache@v2
with:
workspaces: './src-tauri -> target'
- name: install frontend dependencies
run: bun install
- name: build tauri app
run: bun run tauri build
# result
# src-tauri/target/release/bundle/msi/tauri-app_0.0.0_x64_en-US.msi
# src-tauri/target/release/bundle/nsis/tauri-app_0.0.0_x64-setup.exe
- name: upload tauri app build
uses: actions/upload-artifact@v4
with:
name: tauri-app-build
path: src-tauri/target/release/bundle/*