From f007e2cecb2332e7fbf4cfcf58037021f1e37eaf Mon Sep 17 00:00:00 2001 From: Alex Yang Date: Tue, 1 Aug 2023 22:03:05 -0700 Subject: [PATCH] ci: fix setup maker (#3519) --- .github/actions/setup-maker/action.yml | 1 + .github/workflows/build.yml | 1 - .github/workflows/nightly-build.yml | 1 - .github/workflows/release-desktop-app.yml | 1 - 4 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/actions/setup-maker/action.yml b/.github/actions/setup-maker/action.yml index dd8c05fb1..49c81269d 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 4e7a3e803..50a81bdfc 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 3441b309f..1766ca98f 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 d12a05b46..4a73c00ff 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: