ci: build a self-contained Linux AppImage in the release workflow#1081
Conversation
Adds an AppImage as a Linux release artifact so the app runs without a system-installed WebKitGTK 4.1, which is unavailable or hard to find on some distros (e.g. Fedora). Closes the gap behind issue #925. - Build the Linux target with the Tauri bundler (cargo tauri build --bundles appimage) instead of cargo build, reusing the existing bundle config. The same build still yields the bare binary tarball. - Pin the Linux build to ubuntu-22.04 for a stable glibc/WebKitGTK base. - Ship the AppImage as arnis-linux-appimage.tar.gz so the executable bit survives download (extract and run, no chmod), matching the bare binary. - Add icon.png to the bundle icons.
There was a problem hiding this comment.
Pull request overview
Adds a self-contained AppImage as a Linux release artifact so users on distros without WebKitGTK 4.1 (e.g. Fedora) can run Arnis without installing system dependencies.
Changes:
- Pin Linux release runner to
ubuntu-22.04for stable glibc/WebKitGTK base, and update the corresponding artifact-download name. - Install Tauri CLI on Linux and build via
cargo tauri build --bundles appimage; package the resulting AppImage intoarnis-linux-appimage.tar.gzand publish it alongside the bare binary. - Add
assets/icons/icon.pngto the Tauri bundle icon list.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
.github/workflows/release.yml |
Switches Linux build to cargo tauri build, packages AppImage as tar.gz, uploads/downloads new artifact, updates download name to ubuntu-22.04-.... |
tauri.conf.json |
Adds assets/icons/icon.png to bundle icons (needed by Linux/AppImage bundling). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
⏱️ Benchmark run finished in 1m 6s 📈 Compared against baseline: 27s time, 900 MB memory 🟢 Generation time is unchanged. 📅 Last benchmark: 2026-05-31 15:00:15 UTC You can retrigger the benchmark by commenting |
Adds an AppImage as a Linux release artifact so the app runs without a system-installed WebKitGTK 4.1, which is unavailable or hard to find on some distros (e.g. Fedora). Closes the gap behind issue #925.