File tree Expand file tree Collapse file tree 1 file changed +7
-16
lines changed
Expand file tree Collapse file tree 1 file changed +7
-16
lines changed Original file line number Diff line number Diff line change 1- # name of your github action
21name : BuildnPub_WLGate
3- # this will help you specify where to run
42on :
53 push :
64 branches :
7- # this will run on the electron branch
8- - master
5+ - mac_action
96 workflow_dispatch :
107
118jobs :
@@ -18,12 +15,10 @@ jobs:
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
@@ -42,12 +37,10 @@ jobs:
4237 npm install -g appdmg@0.6.6
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 :
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
You can’t perform that action at this time.
0 commit comments