-
-
Notifications
You must be signed in to change notification settings - Fork 40
62 lines (46 loc) · 1.26 KB
/
linux-appImage.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
55
56
57
58
name: Build Electron App for Linux
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install dependencies
run: npm ci
- name: Build Electron app for Linux
run: npm run build:linux
- name: Archive Artifacts
uses: actions/upload-artifact@v3
with:
name: electron-linux-AppImage
path: dist/*.AppImage
retention-days: 1
- name: Build Electron appImage for ARM64
run: npm run build:arm64
- name: Archive Artifacts
uses: actions/upload-artifact@v3
with:
name: electron-arm64-AppImage
path: dist/*.AppImage
retention-days: 1
- name: Build Electron appImage for RPI
run: npm run build:rpi
- name: Archive Artifacts
uses: actions/upload-artifact@v3
with:
name: electron-rpi-AppImage
path: dist/*.AppImage
retention-days: 1