We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b85afaa commit 8a5af2aCopy full SHA for 8a5af2a
1 file changed
.github/macos-build.yml
@@ -0,0 +1,36 @@
1
+name: Build macOS Release
2
+
3
+on:
4
+ push:
5
+ branches: [ "main" ]
6
+ workflow_dispatch:
7
8
+jobs:
9
+ build-mac:
10
+ runs-on: macos-latest
11
12
+ defaults:
13
+ run:
14
+ working-directory: ./src
15
16
+ steps:
17
+ - name: Check out repository code
18
+ uses: actions/checkout@v4
19
20
+ - name: Setup Node.js
21
+ uses: actions/setup-node@v4
22
+ with:
23
+ node-version: '20.10.0'
24
25
+ - name: Install dependencies
26
+ run: npm install
27
28
+ - name: Build the Mac application
29
+ run: npm run package:mac
30
31
+ - name: Upload the finished .dmg file
32
+ uses: actions/upload-artifact@v4
33
34
+ name: macos-app-build
35
+ path: src/release/*.dmg
36
+ retention-days: 5
0 commit comments