Skip to content

Commit e1520fb

Browse files
committed
ci: ARM Linux ランナー向けに xdg-utils を install
ubuntu-22.04-arm の GitHub runner image は xdg-utils を含まず、 tauri-plugin-opener が AppImage バンドル時に xdg-open を embed する 段で `xdg-open binary not found` エラーになり build が落ちていた。 apt install リストに xdg-utils を追加。x86_64 runner では既に入って いるため重複インストールになるが副作用なし。
1 parent c099fc2 commit e1520fb

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ jobs:
7373

7474
- name: Install Linux build deps
7575
if: startsWith(matrix.platform, 'ubuntu-22.04')
76+
# xdg-utils:tauri-plugin-opener が AppImage バンドル時に xdg-open を
77+
# embed する。x86_64 runner では標準で入っているが、arm runner image
78+
# は薄くて入っていないため明示的にインストールする。
7679
run: |
7780
sudo apt-get update
7881
sudo apt-get install -y \
@@ -81,7 +84,8 @@ jobs:
8184
libgtk-3-dev \
8285
libayatana-appindicator3-dev \
8386
librsvg2-dev \
84-
patchelf
87+
patchelf \
88+
xdg-utils
8589
8690
- name: Install frontend deps
8791
run: pnpm install --frozen-lockfile

0 commit comments

Comments
 (0)