Skip to content

revert: split build on release #56

revert: split build on release

revert: split build on release #56

Workflow file for this run

name: Electron Build and Release
on:
push:
branches:
- 'main'
- 'master'
jobs:
release:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
steps:
- name: Check out Git repository
uses: actions/checkout@v3
- name: Setup PNPM
uses: pnpm/action-setup@v4
with:
version: 9.4.0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'pnpm'
- name: Install Setuptools for Python (macOS only)
if: matrix.os == 'macos-latest'
run: pip3 install setuptools --break-system-packages
- name: Install dependencies
run: |
cd electron
pnpm install --frozen-lockfile
- name: Build and Publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd electron
npm run publish