feat: custom maker dmg (#3501)

This commit is contained in:
Alex Yang
2023-08-01 12:20:29 -07:00
committed by GitHub
parent 03f12f6aa4
commit 1b17743ed3
15 changed files with 287 additions and 298 deletions

11
.github/actions/setup-maker/action.yml vendored Normal file
View File

@@ -0,0 +1,11 @@
name: Setup maker
description: 'Setup maker dmg for electron'
runs:
using: 'composite'
steps:
- name: 'Install create-dmg from brew'
shell: bash
run: brew install create-dmg
- name: 'Build @affine/makder-dmg'
shell: bash
run: yarn nx build @affine/maker-dmg

View File

@@ -386,6 +386,9 @@ jobs:
with:
playwright-install: true
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:

View File

@@ -111,6 +111,9 @@ jobs:
- uses: actions/checkout@v3
- name: Setup Node.js
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:

View File

@@ -113,6 +113,9 @@ jobs:
- uses: actions/checkout@v3
- name: Setup Node.js
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: