fix(ci): use dpkg --force-all to skip xdg-desktop-menu error on runner

jpackage's post-install script calls xdg-desktop-menu which fails on
GitHub Actions runners with "No writable system menu directory found".
Menu registration is irrelevant for smoke testing.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
nrobi144
2026-05-19 07:39:34 +03:00
parent cf6541a1e1
commit cca9c2ff3a
+4 -1
View File
@@ -126,7 +126,10 @@ jobs:
- name: Install .deb
run: |
set -euo pipefail
sudo dpkg -i desktopApp/build/compose/binaries/main-release/deb/*.deb
# --force-all: jpackage's post-install script runs xdg-desktop-menu
# which fails on CI runners ("No writable system menu directory").
# The menu registration is irrelevant for smoke testing.
sudo dpkg -i --force-all desktopApp/build/compose/binaries/main-release/deb/*.deb
echo "Installed files:"
dpkg -L amethyst | head -30