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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user