ci: fix build desktop

This commit is contained in:
Alex Yang
2023-06-30 17:06:44 +08:00
parent ad218ec65d
commit 14f63e91a9
6 changed files with 21 additions and 8 deletions

View File

@@ -374,8 +374,16 @@ jobs:
run: yarn nx test @affine/monorepo
env:
NATIVE_TEST: 'true'
- name: Build AFFiNE Desktop
- name: Build Infra
run: yarn run build:infra
- name: Build Plugins
run: yarn run build:plugins
- name: Build Desktop Layers
run: yarn nx build @affine/electron
- name: Download static resource artifact
uses: actions/download-artifact@v3
with:

View File

@@ -124,9 +124,12 @@ jobs:
path: apps/electron/resources/web-static
- name: Build Infra
run: yarn nx run-many -t build -p plugin-infra infra
run: yarn run build:infra
- name: Build layers
- name: Build Plugins
run: yarn run build:plugins
- name: Build Desktop Layers
run: yarn nx build @affine/electron
- name: Signing By Apple Developer ID

View File

@@ -124,9 +124,12 @@ jobs:
path: apps/electron/resources/web-static
- name: Build Infra
run: yarn nx run-many -t build -p plugin-infra infra
run: yarn run build:infra
- name: Build AFFiNE Desktop
- name: Build Plugins
run: yarn run build:plugins
- name: Build Desktop Layers
run: yarn nx build @affine/electron
- name: Signing By Apple Developer ID