-
Notifications
You must be signed in to change notification settings - Fork 0
/
macos.yaml
38 lines (31 loc) · 939 Bytes
/
macos.yaml
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
name: macOS Release
on:
workflow_dispatch:
jobs:
build:
runs-on: macos-latest
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
steps:
- name: Setup env
run: |
git config --global credential.helper store
git config --global user.email "[email protected]"
git config --global user.name "GitHub Actions"
- name: Checkout repository
uses: actions/checkout@v2
with:
repository: vflam/nr-editor
submodules: true
token: ${{ secrets.GH_TOKEN }}
fetch-depth: 1
- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: 18.16.0
- name: Install dependencies
run: npm ci
- name: Build application
run: npm run build
- name: Create release
run: npx electron-builder --mac --publish=always