Skip to content

AI-native knowledge base & Evernote/Obsidian alternative with instant sync & native MCP. Free on Cloudflare or self-hosted via Docker.

fix(release): scope AppImage dependency to Linux

tianma-if27e1c108243d
diff --git a/.github/workflows/desktop-build.yml b/.github/workflows/desktop-build.yml
index eda8eeea..da3240dc 100644
--- a/.github/workflows/desktop-build.yml
+++ b/.github/workflows/desktop-build.yml
@@ -411,11 +411,6 @@ jobs:
- name: Set up Rust
uses: dtolnay/rust-toolchain@stable
- - name: Install AppImage runtime dependencies
- run: |
- sudo apt-get update
- sudo apt-get install --yes libfuse2
-
- name: Cache Bun dependencies
uses: actions/cache@v5
with:
@@ -579,6 +574,11 @@ jobs:
- name: Set up Rust
uses: dtolnay/rust-toolchain@stable
+ - name: Install AppImage runtime dependencies
+ run: |
+ sudo apt-get update
+ sudo apt-get install --yes libfuse2
+
- name: Cache Bun dependencies
uses: actions/cache@v5
with:
diff --git a/scripts/desktop-build-workflow.test.mjs b/scripts/desktop-build-workflow.test.mjs
index 450994a3..ab2bdba9 100644
--- a/scripts/desktop-build-workflow.test.mjs
+++ b/scripts/desktop-build-workflow.test.mjs
@@ -135,10 +135,14 @@ describe("desktop release workflow", () => {
});
test("builds and audits a Linux x64 AppImage Preview in parallel", () => {
+ const linuxJob = workflow.slice(
+ workflow.indexOf("name: Linux x64 AppImage Preview"),
+ workflow.indexOf("name: Audit Linux Preview asset"),
+ );
expect(workflow).toContain("name: Linux x64 AppImage Preview");
expect(workflow).toContain("runs-on: ubuntu-22.04");
- expect(workflow).toContain("name: Install AppImage runtime dependencies");
- expect(workflow).toContain("sudo apt-get install --yes libfuse2");
+ expect(linuxJob).toContain("name: Install AppImage runtime dependencies");
+ expect(linuxJob).toContain("sudo apt-get install --yes libfuse2");
expect(workflow).toContain("EDGE_EVER_DESKTOP_TARGET: linux");
expect(desktopBuilderConfig).toContain(
"artifactName: EdgeEver-${version}-linux-x64.${ext}",