Merge pull request #6 from hczs/0.2.0 #16
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 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 |