File tree Expand file tree Collapse file tree 2 files changed +21
-11
lines changed Expand file tree Collapse file tree 2 files changed +21
-11
lines changed Original file line number Diff line number Diff line change 1010
1111jobs :
1212 release :
13- runs-on : ubuntu-latest
13+ runs-on : ${{ matrix.os }}
14+
15+ strategy :
16+ matrix :
17+ os : [windows-latest, macOS-latest, ubuntu-latest]
18+
1419 steps :
15- - uses : actions/checkout@v3
16- with :
17- fetch-depth : 0
20+ - name : Check out Git repository
21+ uses : actions/checkout@v1
1822
19- - uses : actions/setup-node@v3
23+ - name : Install Node.js, NPM and Pnpm
24+ uses : actions/setup-node@v1
2025 with :
21- node-version : 16.x
22-
23- - run : npx githublogen
26+ node-version : 14
27+ - name : Build/release Electron app
2428 env :
25- GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
29+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
30+ run : |
31+ pnpm install
32+ pnpm run build --publish always
Original file line number Diff line number Diff line change 3838 },
3939 "publish" : [
4040 {
41- "provider" : " generic" ,
42- "url" : " http://127.0.0.1:8080"
41+ "provider" : " github" ,
42+ "owner" : " typeofNaN" ,
43+ "repo" : " typeofNaN/tim-electron-chat" ,
44+ "token" : " ${secrets.GITHUB_TOKEN}" ,
45+ "releaseType" : " release"
4346 }
4447 ],
4548 "releaseInfo" : {
You can’t perform that action at this time.
0 commit comments