Merge pull request #12 from SimplyEdit/main #27
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: 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 |