File tree 2 files changed +251
-17
lines changed
2 files changed +251
-17
lines changed Original file line number Diff line number Diff line change 4
4
branches :
5
5
- master
6
6
jobs :
7
- build :
7
+ publish-win :
8
+ strategy :
9
+ matrix :
10
+ node : ['22']
11
+ os : [ubuntu-latest]
12
+ runs-on : ${{ matrix.os }}
13
+ steps :
14
+ - uses : actions/checkout@v4
15
+ - name : Install pnpm
16
+ uses : pnpm/action-setup@v4
17
+ with :
18
+ version : 9
19
+ - uses : actions/setup-node@v4
20
+ with :
21
+ node-version : ${{ matrix.node }}
22
+ - run : pnpm i
23
+ - run : pnpm build
24
+ - run : pnpm electron-builder --publish onTagOrDraft --win
25
+ env :
26
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
27
+ publish-linux :
28
+ strategy :
29
+ matrix :
30
+ node : ['22']
31
+ os : [ubuntu-latest]
32
+ runs-on : ${{ matrix.os }}
33
+ steps :
34
+ - uses : actions/checkout@v4
35
+ - name : Install pnpm
36
+ uses : pnpm/action-setup@v4
37
+ with :
38
+ version : 9
39
+ - uses : actions/setup-node@v4
40
+ with :
41
+ node-version : ${{ matrix.node }}
42
+ - run : pnpm i
43
+ - run : pnpm build
44
+ - run : pnpm electron-builder --publish onTagOrDraft --linux
45
+ env :
46
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
47
+ publish-mac :
8
48
strategy :
9
49
matrix :
10
50
node : ['22']
20
60
with :
21
61
node-version : ${{ matrix.node }}
22
62
- run : pnpm i
23
- - run : pnpm package
63
+ - run : pnpm build
64
+ - run : pnpm electron-builder --publish onTagOrDraft --mac
24
65
env :
25
66
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
26
67
# APPLE_ID: ${{ secrets.APPLE_ID }}
You can’t perform that action at this time.
0 commit comments