Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix(electron): add back bundle test for appimage (#5876)

Peng Xiao0bbecec2fb54
diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml
index f0ffe2aaf1..b991206fec 100644
--- a/.github/workflows/build-test.yml
+++ b/.github/workflows/build-test.yml
@@ -541,13 +541,21 @@ jobs:
run: yarn workspace @affine-test/affine-desktop e2e
- name: Make bundle
- if: ${{ matrix.spec.os == 'macos-14' && matrix.spec.arch == 'arm64' }}
+ if: ${{ matrix.spec.target == 'aarch64-apple-darwin' }}
env:
SKIP_BUNDLE: true
SKIP_WEB_BUILD: true
HOIST_NODE_MODULES: 1
run: yarn workspace @affine/electron package --platform=darwin --arch=arm64
+ - name: Make AppImage
+ run: yarn workspace @affine/electron make --platform=linux --arch=x64
+ if: ${{ matrix.spec.target == 'x86_64-unknown-linux-gnu' }}
+ env:
+ SKIP_PLUGIN_BUILD: 1
+ SKIP_WEB_BUILD: 1
+ HOIST_NODE_MODULES: 1
+
- name: Output check
if: ${{ matrix.spec.os == 'macos-14' && matrix.spec.arch == 'arm64' }}
run: |