Skip to content

Build

Build #15

Workflow file for this run

name: Build
on: [workflow_dispatch]
jobs:
build-windows:
name: Build for Windows
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- run: |
cd bin/resources/app
npm install
npx electron-builder -p never --x64 --ia32
- uses: actions/upload-artifact@v4
with:
name: GMEdit-Win
path:
bin/resources/app/dist/*.zip
build-mac:
name: Build for Mac
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- run: |
cd bin/resources/app
npm install
npx electron-builder -p never --x64 --arm64
- uses: actions/upload-artifact@v4
with:
name: GMEdit-Mac
path:
bin/resources/app/dist/*.zip
build-linux:
name: Build for Linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- run: |
cd bin/resources/app
npm install
npx electron-builder -p never --x64
cd dist/linux-unpacked/resources/app
zip -r ../../../../AppOnly.zip *
- uses: actions/upload-artifact@v4
with:
name: GMEdit-Linux
path:
bin/resources/app/dist/*.zip
- uses: actions/upload-artifact@v4
with:
name: GMEdit-AppOnly
path:
bin/resources/app/AppOnly.zip