fix(ci): install xdg-utils for Linux releases
This commit is contained in:
@@ -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/);
|
||||
});
|
||||
Reference in New Issue
Block a user