Skip to content

Commit

Permalink
💚 自动构建脚本测试
Browse files Browse the repository at this point in the history
  • Loading branch information
hczs committed Oct 10, 2023
1 parent dcdb7bd commit bfdcd30
Showing 1 changed file with 25 additions and 12 deletions.
37 changes: 25 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,32 @@ on:
branches:
- main
jobs:
pack:
build:
name: build electron app
runs-on: ${{matrix.os}}

# mac and windows
strategy:
matrix:
os: [windows-latest, macOS-latest]
os: [windows-latest, macOS-12]

steps:
- uses: actions/checkout@v2
- name: Install and build
run: |
npm install
npm run build
- name: Upload file
uses: actions/upload-artifact@v2
with:
name: kafka-desktop
path: release
- 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
npm run build
- name: Upload file
uses: actions/upload-artifact@v2

with:
name: kafka-desktop
path: release

0 comments on commit bfdcd30

Please sign in to comment.