File tree Expand file tree Collapse file tree 1 file changed +1
-31
lines changed Expand file tree Collapse file tree 1 file changed +1
-31
lines changed Original file line number Diff line number Diff line change 2525 runs-on : ${{ matrix.os }}
2626 strategy :
2727 matrix :
28- os : [macos-latest]
28+ os : [macos-latest, windows-2019 ]
2929 node-version : [20.x]
3030
3131 steps :
5858 run : |
5959 yarn run package
6060
61- build-windows :
62- runs-on : windows-2019
63- steps :
64- - uses : actions/checkout@v4
65- - name : Use Node.js 20.x
66- uses : actions/setup-node@v4
67- with :
68- node-version : 20.x
69- - name : Get yarn cache directory path
70- id : yarn_cache_dir_path
71- run : echo "dir=$(yarn config get cacheFolder)" >> $Env:GITHUB_OUTPUT
72-
73- - uses : actions/cache@v4
74- id : yarn_cache
75- with :
76- path : ${{ steps.yarn_cache_dir_path.outputs.dir }}
77- key : ${{ runner.os }}-yarn-${{ hashFiles('./yarn.lock') }}
78- restore-keys : |
79- ${{ runner.os }}-yarn-
80- - name : Install
81- run : |
82- yarn install --immutable
83-
84- - name : Build
85- run : |
86- yarn run electron-rebuild
87-
88- - name : Package
89- run : |
90- yarn run package
You can’t perform that action at this time.
0 commit comments