-
Notifications
You must be signed in to change notification settings - Fork 1
54 lines (52 loc) · 1.46 KB
/
make-mac.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
name: Release macOS dmg
on:
workflow_dispatch:
push:
branches: [ GovertDev ]
jobs:
build_on_mac:
runs-on: macos-latest
strategy:
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
# You can test your matrix by printing the current Python version
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- uses: actions/setup-node@master
with:
node-version: 20
- name: install dependencies
run: npm install
- name: build
run: npm run make-mac
- name: Publish app
run: npm run publish
# build:
# strategy:
# matrix:
# os:
# [
# { name: 'linux', image: 'ubuntu-latest' },
# { name: 'windows', image: 'windows-latest' },
# { name: 'macos', image: 'macos-latest' },
# ]
# runs-on: ${{ matrix.os.image }}
# steps:
# - name: Github checkout
# uses: actions/checkout@v4
# - name: Use Node.js
# uses: actions/setup-node@v4
# with:
# node-version: 20
# - run: npm install --save-dev @electron-forge/cli
# - run: npx electron-forge import
# - name: Publish app
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: npm run publish