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.

ci: fix setup maker (#3519)

Alex Yangf007e2cecb23
diff --git a/.github/actions/setup-maker/action.yml b/.github/actions/setup-maker/action.yml
index dd8c05fb1f..49c81269d2 100644
--- a/.github/actions/setup-maker/action.yml
+++ b/.github/actions/setup-maker/action.yml
@@ -4,6 +4,7 @@ runs:
using: 'composite'
steps:
- name: 'Install create-dmg from brew'
+ if: runner.os == 'macos'
shell: bash
run: brew install create-dmg
- name: 'Build @affine/makder-dmg'
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 4e7a3e803b..50a81bdfc5 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -388,7 +388,6 @@ jobs:
hard-link-nm: false
- name: Setup Maker
uses: ./.github/actions/setup-maker
- if: ${{ matrix.spec.platform == 'macos' }}
- name: Build AFFiNE native
uses: ./.github/actions/build-rust
with:
diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml
index 3441b309f1..1766ca98ff 100644
--- a/.github/workflows/nightly-build.yml
+++ b/.github/workflows/nightly-build.yml
@@ -113,7 +113,6 @@ jobs:
uses: ./.github/actions/setup-node
- name: Setup Maker
uses: ./.github/actions/setup-maker
- if: ${{ matrix.spec.platform == 'macos' }}
- name: Build AFFiNE native
uses: ./.github/actions/build-rust
with:
diff --git a/.github/workflows/release-desktop-app.yml b/.github/workflows/release-desktop-app.yml
index d12a05b46e..4a73c00ff4 100644
--- a/.github/workflows/release-desktop-app.yml
+++ b/.github/workflows/release-desktop-app.yml
@@ -115,7 +115,6 @@ jobs:
uses: ./.github/actions/setup-node
- name: Setup Maker
uses: ./.github/actions/setup-maker
- if: ${{ matrix.spec.platform == 'macos' }}
- name: Build AFFiNE native
uses: ./.github/actions/build-rust
with: