fix: failed to package app since core and uikit are not being built (#575)

This commit is contained in:
Louis 2023-11-10 13:15:56 +07:00 committed by GitHub
parent 2aae3bbab2
commit b1bb288fae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@ name: Jan Build Electron App
on: on:
push: push:
tags: ['v*.*.*'] tags: ["v*.*.*"]
jobs: jobs:
build-macos: build-macos:
@ -49,8 +49,16 @@ jobs:
p12-file-base64: ${{ secrets.CODE_SIGN_P12_BASE64 }} p12-file-base64: ${{ secrets.CODE_SIGN_P12_BASE64 }}
p12-password: ${{ secrets.CODE_SIGN_P12_PASSWORD }} p12-password: ${{ secrets.CODE_SIGN_P12_PASSWORD }}
- name: Build uikit
run: |
cd uikit
yarn install
yarn build
- name: Install yarn dependencies - name: Install yarn dependencies
run: | run: |
yarn build:core
yarn install yarn install
yarn build:plugins yarn build:plugins
env: env:
@ -100,9 +108,16 @@ jobs:
env: env:
VERSION_TAG: ${{ steps.tag.outputs.tag }} VERSION_TAG: ${{ steps.tag.outputs.tag }}
- name: Build uikit
run: |
cd uikit
yarn install
yarn build
- name: Install yarn dependencies - name: Install yarn dependencies
run: | run: |
yarn config set network-timeout 300000 yarn config set network-timeout 300000
yarn build:core
yarn install yarn install
yarn build:plugins yarn build:plugins
@ -149,9 +164,16 @@ jobs:
env: env:
VERSION_TAG: ${{ steps.tag.outputs.tag }} VERSION_TAG: ${{ steps.tag.outputs.tag }}
- name: Build uikit
run: |
cd uikit
yarn install
yarn build
- name: Install yarn dependencies - name: Install yarn dependencies
run: | run: |
yarn config set network-timeout 300000 yarn config set network-timeout 300000
yarn build:core
yarn install yarn install
yarn build:plugins yarn build:plugins