Skip to content

Merge pull request #2 from hczs/0.2.0 #12

Merge pull request #2 from hczs/0.2.0

Merge pull request #2 from hczs/0.2.0 #12

Workflow file for this run

name: Build App
on:
push:
branches:
- main
jobs:
build:
name: build electron app
runs-on: ${{matrix.os}}
# mac and windows
strategy:
matrix:
os: [windows-latest, macOS-latest]
steps:
- name: Check out git repository
uses: actions/[email protected]
- name: Install Node.js
uses: actions/[email protected]
with:
node-version: '16'
- name: Install and build
run: |
npm install --legacy-peer-deps
npm run build
- name: Copy pag to target dir
run: node handle_pkg.js
- name: Upload file
uses: actions/upload-artifact@v3
with:
name: kafka-desktop
path: ./release/installation-packages
if-no-files-found: error