File tree Expand file tree Collapse file tree 1 file changed +16
-10
lines changed
Expand file tree Collapse file tree 1 file changed +16
-10
lines changed Original file line number Diff line number Diff line change 44 push :
55 tags :
66 - ' [0-9]+.[0-9]+.[0-9]+'
7+ workflow_dispatch :
78
89permissions :
910 contents : write
1314
1415jobs :
1516 publish :
16- runs-on : ${{ matrix.os }}
17-
1817 strategy :
1918 matrix :
20- include :
21- - os : macos-latest
22- arch : arm64
23- - os : macos-latest
19+ config :
20+ - os : macos-13 # Intel
2421 arch : x64
22+ name : macOS
23+ - os : macos-14 # Apple Silicon
24+ name : macOS
25+ arch : arm64
2526 - os : windows-latest
2627 arch : x64
28+ name : Windows
29+
30+ runs-on : ${{ matrix.config.os }}
2731
2832 steps :
2933 - name : Check out Git repository
@@ -34,16 +38,18 @@ jobs:
3438 with :
3539 python-version : ${{ env.PYTHON_VERSION }}
3640
37- - name : Setup Node.js environment
41+ - name : Set up Node.js
3842 uses : actions/setup-node@v4
3943 with :
4044 node-version : 20
4145
4246 - name : Install dependencies
4347 run : yarn install
4448
45- - name : Publish using Electron Forge
49+ - name : Build for ${{ matrix.config.name }} (${{ matrix.config.arch }})
50+ run : yarn run make -- --arch=${{ matrix.config.arch }}
51+
52+ - name : Publish for ${{ matrix.config.name }} (${{ matrix.config.arch }})
4653 env :
4754 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
48- npm_config_arch : ${{ matrix.arch }}
49- run : yarn run publish
55+ run : yarn run publish -- --arch=${{ matrix.config.arch }}
You can’t perform that action at this time.
0 commit comments