Skip to content

Release(electron): 4.5.1 #33

Release(electron): 4.5.1

Release(electron): 4.5.1 #33

Workflow file for this run

name: build-release
on:
workflow_dispatch:
push:
tags:
- v4.*
jobs:
build:
name: build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, macOS-latest]
env:
# electron-builder 在 CI 机器上会因为 unpack ffmpeg-static 报错,参考了该修复方案:
# https://github.com/electron-userland/electron-builder/issues/3179
USE_HARD_LINKS: false
# 提供给 electron-builder 上传 release assets 时使用。
GITHUB_TOKEN: ${{ secrets.repo_contents_token }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: yarn
- run: cd ./packages/shared && yarn build
- run: cd ./packages/manager && yarn build
- run: yarn app:build -p=always