2021-12-13 11:34:37 +05:30
|
|
|
name: Build
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
paths-ignore:
|
|
|
|
- '**.md'
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
setup_and_build:
|
2021-12-13 18:43:22 +05:30
|
|
|
runs-on: macos-11
|
2021-12-13 11:34:37 +05:30
|
|
|
steps:
|
|
|
|
- name: Setup node
|
|
|
|
uses: actions/setup-node@v2
|
|
|
|
with:
|
2021-12-13 18:43:22 +05:30
|
|
|
node-version: '16.13.1'
|
2021-12-13 11:34:37 +05:30
|
|
|
|
|
|
|
- name: Set yarn version
|
2022-03-28 18:28:23 +05:30
|
|
|
run: yarn set version 1.22.18
|
2021-12-13 11:34:37 +05:30
|
|
|
|
|
|
|
- name: Checkout Books
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
2022-10-31 13:51:52 +05:30
|
|
|
- name: Install Dependencies
|
2022-01-21 15:30:02 +05:30
|
|
|
run: yarn
|
2021-12-13 11:34:37 +05:30
|
|
|
|
|
|
|
- name: Run build
|
|
|
|
env:
|
|
|
|
CSC_IDENTITY_AUTO_DISCOVERY: false
|
|
|
|
APPLE_NOTARIZE: 0
|
2023-01-27 13:24:54 +05:30
|
|
|
run: yarn electron:build -mw --publish never
|