2021-12-13 06:04:37 +00:00
|
|
|
name: Build
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
paths-ignore:
|
|
|
|
- '**.md'
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
setup_and_build:
|
2021-12-13 13:13:22 +00:00
|
|
|
runs-on: macos-11
|
2021-12-13 06:04:37 +00:00
|
|
|
steps:
|
|
|
|
- name: Setup node
|
|
|
|
uses: actions/setup-node@v2
|
|
|
|
with:
|
2021-12-13 13:13:22 +00:00
|
|
|
node-version: '16.13.1'
|
2021-12-13 06:04:37 +00:00
|
|
|
|
|
|
|
- name: Set yarn version
|
2022-03-28 12:58:23 +00:00
|
|
|
run: yarn set version 1.22.18
|
2021-12-13 06:04:37 +00:00
|
|
|
|
|
|
|
- name: Checkout Books
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Setup Books
|
2022-01-21 10:00:02 +00:00
|
|
|
run: yarn
|
2021-12-13 06:04:37 +00:00
|
|
|
|
|
|
|
- name: Install RPM
|
|
|
|
run: HOMEBREW_NO_AUTO_UPDATE=1 brew install rpm
|
|
|
|
|
|
|
|
- name: Run build
|
|
|
|
env:
|
|
|
|
CSC_IDENTITY_AUTO_DISCOVERY: false
|
|
|
|
APPLE_NOTARIZE: 0
|
2022-01-21 10:00:02 +00:00
|
|
|
run: yarn electron:build -mwl --publish never
|