mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-11 20:08:37 +00:00
feat: custom maker dmg (#3501)
This commit is contained in:
11
.github/actions/setup-maker/action.yml
vendored
Normal file
11
.github/actions/setup-maker/action.yml
vendored
Normal 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
|
||||
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@@ -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:
|
||||
|
||||
3
.github/workflows/nightly-build.yml
vendored
3
.github/workflows/nightly-build.yml
vendored
@@ -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:
|
||||
|
||||
3
.github/workflows/release-desktop-app.yml
vendored
3
.github/workflows/release-desktop-app.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user