Skip to content

Commit 913673f

Browse files
author
Mohammod Al Amin Ashik
committed
fix: Exclude AppImage from Linux builds to prevent CI failures
Use Tauri CLI --bundles flag to explicitly exclude AppImage from Linux builds. AppImage bundling requires linuxdeploy and FUSE which can be unreliable in CI environments. The .deb and .rpm packages provide better Linux distribution support. Also added libfuse2 dependency for future AppImage support if needed.
1 parent 754d48d commit 913673f

2 files changed

Lines changed: 11 additions & 6 deletions

File tree

.github/workflows/e2e-desktop.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,13 +97,21 @@ jobs:
9797
9898
- run: pnpm install --frozen-lockfile
9999

100-
- name: Build app
101-
run: pnpm build
100+
- name: Build app (Linux)
101+
if: matrix.os == 'ubuntu-latest'
102+
run: pnpm exec tauri build --bundles deb,rpm,updater
102103
env:
103104
PKG_CONFIG_PATH: /usr/lib/x86_64-linux-gnu/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig
104105
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
105106
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
106107

108+
- name: Build app (Windows)
109+
if: matrix.os == 'windows-latest'
110+
run: pnpm build
111+
env:
112+
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
113+
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
114+
107115
- name: Run desktop E2E tests (Linux)
108116
if: matrix.os == 'ubuntu-latest'
109117
run: |

apps/desktop/src-tauri/tauri.conf.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"bundle": {
4545
"active": true,
4646
"createUpdaterArtifacts": true,
47-
"targets": ["deb", "rpm", "nsis", "msi", "app", "dmg", "updater"],
47+
"targets": "all",
4848
"icon": [
4949
"icons/32x32.png",
5050
"icons/128x128.png",
@@ -83,9 +83,6 @@
8383
}
8484
},
8585
"linux": {
86-
"appimage": {
87-
"bundleMediaFramework": false
88-
},
8986
"deb": {
9087
"depends": [
9188
"libsecret-1-0",

0 commit comments

Comments
 (0)