21
21
22
22
jobs :
23
23
build_darwin :
24
- name : Build macOS
24
+ name : Build macOS (x86_64, arm64)
25
25
runs-on : macos-latest
26
26
steps :
27
27
- uses : actions/checkout@v4
@@ -31,31 +31,36 @@ jobs:
31
31
node-version : 20
32
32
cache : " npm"
33
33
- run : npm ci
34
+ - name : Run installer build (x86_64)
34
35
- run : |
35
36
npm run update-build-info
36
- npm run make-electron
37
+ npm run make-electron -- --arch="x64"
37
38
- name : Publish zip artifact (x86_64)
38
39
uses : actions/upload-artifact@v4
39
40
with :
40
41
name : TriliumNext Notes for MacOS (x86_64)
41
- path : out/make/darwin/x64/*.zip
42
- - name : Publish zip artifact (arm64)
43
- uses : actions/upload-artifact@v4
44
- with :
45
- name : TriliumNext Notes for MacOS (arm64)
46
- path : out/make/darwin/arm64/*.zip
42
+ path : out/make/zip/darwin/x64/*.zip
47
43
- name : Publish installer artifact (x86_64)
48
44
uses : actions/upload-artifact@v4
49
45
with :
50
46
name : TriliumNext Notes for MacOS (Setup) (x86_64)
51
- path : out/make/dmg/x64/*.dmg
47
+ path : out/make/*-x64.dmg
48
+ - name : Run installer build (arm64)
49
+ - run : |
50
+ npm run update-build-info
51
+ npm run make-electron -- --arch="arm64"
52
+ - name : Publish zip artifact (arm64)
53
+ uses : actions/upload-artifact@v4
54
+ with :
55
+ name : TriliumNext Notes for MacOS (arm64)
56
+ path : out/make/zip/darwin/arm64/*.zip
52
57
- name : Publish installer artifact (arm64)
53
58
uses : actions/upload-artifact@v4
54
59
with :
55
60
name : TriliumNext Notes for MacOS (Setup) (arm64)
56
- path : out/make/dmg/arm64/* .dmg
57
- build_linux-x64 :
58
- name : Build Linux x86_64
61
+ path : out/make/*-arm64 .dmg
62
+ build_linux :
63
+ name : Build Linux ( x86_64, arm64)
59
64
runs-on : ubuntu-latest
60
65
steps :
61
66
- uses : actions/checkout@v4
@@ -65,20 +70,34 @@ jobs:
65
70
node-version : 20
66
71
cache : " npm"
67
72
- run : npm ci
68
- - name : Run installer build
73
+ - name : Run installer build (x86_64)
69
74
run : |
70
75
npm run update-build-info
71
- npm run make-electron
72
- - name : Publish zip artifact
76
+ npm run make-electron -- --arch="x64"
77
+ - name : Publish zip artifact (x86_64)
73
78
uses : actions/upload-artifact@v4
74
79
with :
75
80
name : TriliumNext Notes for Linux
76
81
path : out/make/zip/linux/x64/*.zip
77
- - name : Publish installer artifact
82
+ - name : Publish installer artifact (x86_64)
78
83
uses : actions/upload-artifact@v4
79
84
with :
80
85
name : TriliumNext Notes for Linux (Setup)
81
86
path : out/make/deb/x64/*.deb
87
+ - name : Run installer build (arm64)
88
+ run : |
89
+ npm run update-build-info
90
+ npm run make-electron -- --arch="arm64"
91
+ - name : Publish zip artifact (arm64)
92
+ uses : actions/upload-artifact@v4
93
+ with :
94
+ name : TriliumNext Notes for Linux
95
+ path : out/make/zip/linux/arm64/*.zip
96
+ - name : Publish installer artifact (arm64)
97
+ uses : actions/upload-artifact@v4
98
+ with :
99
+ name : TriliumNext Notes for Linux (Setup)
100
+ path : out/make/deb/arm64/*.deb
82
101
build_linux_server-x64 :
83
102
name : Build Linux Server x86_64
84
103
runs-on : ubuntu-latest
0 commit comments