Skip to content

Update build_electron_app.yml #9

Update build_electron_app.yml

Update build_electron_app.yml #9

name: Build and Package Electron App
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node-version: [16.x]
steps:
- uses: actions/checkout@v4
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn install
- name: Build and Package
run: yarn dist
- name: Upload Artifacts
uses: actions/upload-artifact@v2
with:
name: ${{ runner.os }}-artifacts
path: dist/*