Desktop Windows Installer #6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |