Skip to content

Merge pull request #12 from SimplyEdit/main #27

Merge pull request #12 from SimplyEdit/main

Merge pull request #12 from SimplyEdit/main #27

Workflow file for this run

name: Release app
on:
workflow_dispatch:
push:
branches: [ GovertDev ]
jobs:
build_on_linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@master
with:
node-version: 20
- name: install dependencies
run: npm install
- name: build
run: npm run package
build_on_mac:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@master
with:
node-version: 20
- name: install dependencies
run: npm install
- name: build
run: npm run package
build_on_win:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@master
with:
node-version: 20
- name: install dependencies
run: npm install
- name: build
run: npm run package
# build:
# strategy:
# matrix:
# os:
# [
# { name: 'linux', image: 'ubuntu-latest' },
# { name: 'windows', image: 'windows-latest' },
# { name: 'macos', image: 'macos-latest' },
# ]
# runs-on: ${{ matrix.os.image }}
# steps:
# - name: Github checkout
# uses: actions/checkout@v4
# - name: Use Node.js
# uses: actions/setup-node@v4
# with:
# node-version: 20
# - run: npm install --save-dev @electron-forge/cli
# - run: npx electron-forge import
# - name: Publish app
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: npm run publish