-
Notifications
You must be signed in to change notification settings - Fork 11
71 lines (69 loc) · 2.03 KB
/
build.electron.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
59
60
61
62
63
64
65
66
67
68
69
70
71
name: Build and publish electron app
on:
push:
branches:
- master
workflow_dispatch:
jobs:
build_for_linux:
name: Build for linux
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '18'
- name: Install dependencies
run: |
rm -rf dist/
npm install -g @quasar/cli yarn --force
yarn install
- name: Build and release Linux binaries
env:
EP_GH_IGNORE_TIME: true
GH_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
run: |
quasar build --mode electron --publish always -T linux --icon=/src-electron/icons/icon.png
build_for_windows:
name: Build for windows
runs-on: windows-2022
steps:
- name: Checkout repository
uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '18'
- name: Install dependencies
run: |
npm install -g @quasar/cli yarn --force
yarn install
- name: Build and release Windows binaries
env:
EP_GH_IGNORE_TIME: true
GH_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
run: |
quasar build --mode electron --publish always -T win32 --icon=/src-electron/icons/icon.ico
build_for_macos:
name: Build for macos
runs-on: macos-12
steps:
- name: Checkout repository
uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '18'
- name: Install dependencies
run: |
rm -rf dist/
npm install -g @quasar/cli yarn --force
yarn install
- name: dmg-license add
run: |
sudo npm install -g dmg-license
- name: Build and release MacOS binaries
env:
EP_GH_IGNORE_TIME: true
GH_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
run: |
quasar build --mode electron --publish always -T darwin --icon=/src-electron/icons/icon.icns