fix(ci): install xdg-utils for Linux releases

This commit is contained in:
t8y2
2026-05-21 12:02:29 +08:00
parent 73117255c6
commit d6e98c5d67
2 changed files with 10 additions and 1 deletions
+1 -1
View File
@@ -128,7 +128,7 @@ jobs:
if: startsWith(matrix.platform, 'ubuntu')
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.1-dev libgtk-3-dev libappindicator3-dev librsvg2-dev patchelf libssl-dev
sudo apt-get install -y libwebkit2gtk-4.1-dev libgtk-3-dev libappindicator3-dev librsvg2-dev patchelf libssl-dev xdg-utils
- name: Setup Tauri signing key
shell: bash
@@ -0,0 +1,9 @@
import { readFileSync } from "node:fs";
import { strict as assert } from "node:assert";
import test from "node:test";
test("release Linux runners install xdg-utils for AppImage bundling", () => {
const workflow = readFileSync(".github/workflows/release.yml", "utf8");
assert.match(workflow, /sudo apt-get install -y [^\n]*\bxdg-utils\b/);
});