Skip to content

Commit c454cc4

Browse files
authored
Merge pull request #7 from HB9HIL/mac_action
Workflow Update - Fix macOS Binary
2 parents f49b05a + 95378b7 commit c454cc4

File tree

4 files changed

+13
-20
lines changed

4 files changed

+13
-20
lines changed

.github/workflows/electron.yml

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,29 @@
1-
# name of your github action
21
name: BuildnPub_WLGate
3-
# this will help you specify where to run
42
on:
53
push:
64
branches:
7-
# this will run on the electron branch
85
- master
96
workflow_dispatch:
107

118
jobs:
129
build_on_linux:
1310
runs-on: ubuntu-latest
1411
steps:
15-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v4
1613
- uses: actions/setup-node@master
1714
with:
1815
node-version: 21
1916
- name: install dependencies
2017
run: npm install
21-
- name: build
22-
run: npm run make -- --platform linux --arch=x64
23-
- name: publish
18+
- name: build and publish
2419
env:
2520
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26-
run: npm run publish --from-dry-run
21+
run: npx electron-forge publish --platform linux --arch=x64
2722

2823
build_on_mac:
2924
runs-on: macos-14
3025
steps:
31-
- uses: actions/checkout@v2
26+
- uses: actions/checkout@v4
3227
- uses: actions/setup-node@master
3328
with:
3429
node-version: 21
@@ -42,26 +37,22 @@ jobs:
4237
npm install -g [email protected]
4338
- name: install dependencies
4439
run: npm install
45-
- name: build
46-
run: npm run make --arch=universal
47-
- name: publish
40+
- name: build and publish
4841
env:
4942
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
50-
run: npm run publish --from-dry-run
43+
run: npx electron-forge publish --arch=universal
5144

5245

5346
build_on_win:
5447
runs-on: windows-latest
5548
steps:
56-
- uses: actions/checkout@v2
49+
- uses: actions/checkout@v4
5750
- uses: actions/setup-node@master
5851
with:
5952
node-version: 21
6053
- name: install dependencies
6154
run: npm install
62-
- name: build
63-
run: npm run make
64-
- name: publish
55+
- name: build and publish
6556
env:
6657
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
67-
run: npm run publish --from-dry-run
58+
run: npx electron-forge publish

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,4 @@ Enjoy
4444

4545
#### Contributing
4646
Contribution is welcome. PRs will only be accepted against the Dev-Branch.
47+

forge.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ module.exports = {
2525
},
2626
{
2727
name: '@electron-forge/maker-dmg',
28-
config: { format: 'ULFO' },
28+
config: { format: 'UDZO' },
2929
platforms: ['darwin'],
30+
arch: ['universal'],
3031
},
3132
{
3233
name: '@electron-forge/maker-deb',

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "WaveLog_Gate_by_DJ7NT",
2+
"name": "wavelog-gate-by-dj7nt",
33
"productName": "WaveLogGate",
44
"description": "Gateway for connecting WSJT-* and FLRig to Wavelog",
55
"keywords": [],

0 commit comments

Comments
 (0)