Skip to content

Desktop Windows Installer #6

Desktop Windows Installer

Desktop Windows Installer #6

name: Desktop Windows Installer
on:
workflow_dispatch:
pull_request:
paths:
- "apps/desktop/**"
- ".github/workflows/desktop-windows.yml"
- "src/**"
- "package.json"
- "pnpm-lock.yaml"
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 10
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- uses: dtolnay/rust-toolchain@stable
- run: pnpm install --frozen-lockfile
- run: pnpm build
- run: pnpm --dir apps/desktop install --frozen-lockfile
- run: pnpm --dir apps/desktop build
- uses: actions/upload-artifact@v4
with:
name: agent-pet-desktop-nsis
path: apps/desktop/src-tauri/target/release/bundle/nsis/*.exe