-
-
Notifications
You must be signed in to change notification settings - Fork 714
54 lines (54 loc) · 1.43 KB
/
build-packages.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: Build Package
on: [workflow_dispatch]
jobs:
buildMac:
runs-on: macos-11
env:
SDKROOT: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14.11.0'
- run: npm install
- name: build package
run: npm run buildMacIntel && npm run buildMacArm
- name: upload package
uses: actions/upload-artifact@v2
with:
name: mac-package
path: dist/app/*.zip
buildWindows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14.x'
- run: npm install
- name: build package
run: npm run buildWindows
- name: upload package
uses: actions/upload-artifact@v2
with:
name: windows-package
path: |
dist/app/*.zip
dist/app/*.exe
buildLinux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14.x'
- run: npm install
- name: build package
run: npm run buildDebian && npm run buildRedhat && npm run buildLinuxArm64 && npm run buildRaspi
- name: upload package
uses: actions/upload-artifact@v2
with:
name: linux-package
path: |
dist/app/*.deb
dist/app/*.rpm