Skip to content

Build mac

Build mac #2

Workflow file for this run

name: Build mac
on:
workflow_dispatch:
jobs:
build-electron:
runs-on: macos-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Node.js and npm via Homebrew
run: |
brew update
brew install node
node -v
npm -v
- name: Install build tools
run: |
npm install --global electron-builder
- name: Build
run: |
npm install
npm run build:mac -- --publish=never
env:
GH_TOKEN: ""
- name: Upload release folder
uses: actions/upload-artifact@v4
with:
name: pvzge-mac-release
path: release/