Build #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |