From 97453f4106f53e985b7e9b46ac796ec347edfa14 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sat, 25 Jul 2026 12:20:59 +0000 Subject: [PATCH 1/2] Upload desktop CI installers as Actions artifacts Attach Linux/macOS/Windows Tauri bundle directories to each green main desktop job so installers can be downloaded from the run or via gh. Co-authored-by: Damon --- .github/workflows/ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1232ec1..4248baa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,12 +38,15 @@ jobs: - platform: ubuntu-22.04 args: --target x86_64-unknown-linux-gnu rust_target: x86_64-unknown-linux-gnu + artifact: desktop-linux-x86_64 - platform: macos-latest args: --target aarch64-apple-darwin rust_target: aarch64-apple-darwin + artifact: desktop-macos-aarch64 - platform: windows-latest args: --target x86_64-pc-windows-msvc rust_target: x86_64-pc-windows-msvc + artifact: desktop-windows-x86_64 runs-on: ${{ matrix.platform }} steps: - uses: actions/checkout@v4 @@ -72,9 +75,17 @@ jobs: env: PRM_BUNDLE_NODE: "1" - uses: tauri-apps/tauri-action@v0 + id: tauri env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: projectPath: apps/desktop args: ${{ matrix.args }} includeUpdaterJson: false + - name: Upload desktop installers + uses: actions/upload-artifact@v4 + with: + name: ${{ matrix.artifact }} + path: apps/desktop/src-tauri/target/${{ matrix.rust_target }}/release/bundle/ + if-no-files-found: error + retention-days: 30 From fd1e6adae774b364358ed32332eeb926817b4079 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sat, 25 Jul 2026 12:21:04 +0000 Subject: [PATCH 2/2] Document how to download desktop CI artifacts Co-authored-by: Damon --- apps/desktop/README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/apps/desktop/README.md b/apps/desktop/README.md index 56f0264..674f6be 100644 --- a/apps/desktop/README.md +++ b/apps/desktop/README.md @@ -40,7 +40,20 @@ pnpm desktop:build At runtime the shell resolves `sidecars/` from the app resource dir (or `PRM_API_SIDECAR_DIR`), spawns bundled Node with the API entry, sets `PRM_LAUNCH_TOKEN` / `PRM_DATA_DIR`, and kills the child on exit — one process from the user’s point of view. -CI builds the same matrix (Ubuntu / macOS / Windows) on pushes to `main`. +CI builds the same matrix (Ubuntu / macOS / Windows) on pushes to `main`. Each green desktop job uploads an Actions artifact (retained 30 days): + +| Artifact name | Typical contents | +|---------------|------------------| +| `desktop-linux-x86_64` | `.deb` / `.AppImage` under `bundle/` | +| `desktop-macos-aarch64` | `.dmg` / `.app` under `bundle/` | +| `desktop-windows-x86_64` | `.msi` / NSIS `.exe` under `bundle/` | + +Download from the run’s **Artifacts** section in the GitHub UI, or: + +```bash +gh run download -n desktop-windows-x86_64 +# also: desktop-macos-aarch64, desktop-linux-x86_64 +``` ## Icons