mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-08 23:54:39 +00:00
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:
co-authored by
Claude Opus 4.6
parent
cf6541a1e1
commit
cca9c2ff3a
@@ -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