Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
15 changes: 14 additions & 1 deletion apps/desktop/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <run-id> -n desktop-windows-x86_64
# also: desktop-macos-aarch64, desktop-linux-x86_64
```

## Icons

Expand Down
Loading