fix(electron): release desktop app workflow (#4594)

This commit is contained in:
LongYinan
2023-10-17 14:15:55 +08:00
committed by GitHub
parent 01987990ee
commit e831f612e8
14 changed files with 96 additions and 39 deletions
+4 -1
View File
@@ -41,9 +41,12 @@ $.env.DISTRIBUTION = 'desktop';
cd(repoRootDir);
if (!process.env.SKIP_PLUGIN_BUILD) {
await $`yarn -T run build:plugins`;
}
// step 1: build web (nextjs) dist
if (!process.env.SKIP_WEB_BUILD) {
await $`yarn -T run build:plugins`;
await $`yarn nx build @affine/core`;
await $`yarn workspace @affine/electron build`;