File tree Expand file tree Collapse file tree 2 files changed +1
-29
lines changed
Expand file tree Collapse file tree 2 files changed +1
-29
lines changed Original file line number Diff line number Diff line change 1414
1515 strategy :
1616 matrix :
17- os : [macos-latest, ubuntu-latest, windows-latest ]
17+ os : [macos-latest, ubuntu-latest]
1818
1919 steps :
2020 - name : Check out Git repository
2525 with :
2626 node-version : 20
2727
28- - name : Setup MSBuild (Windows)
29- if : matrix.os == 'windows-latest'
30- uses : microsoft/setup-msbuild@v2
31-
32- - name : Install Windows SDK (Windows)
33- if : matrix.os == 'windows-latest'
34- shell : powershell
35- run : |
36- choco install windows-sdk-10-version-2004-all -y
37-
3828 - name : Install dependencies
3929 run : npm install
40- env :
41- npm_config_msvs_version : 2022
4230
4331 - name : Build application
4432 run : npm run dist
6351 dist/*.AppImage
6452 dist/*.deb
6553
66- - name : Upload artifacts (Windows)
67- if : matrix.os == 'windows-latest'
68- uses : actions/upload-artifact@v4
69- with :
70- name : windows-build
71- path : |
72- dist/*.exe
73- dist/*.zip
74-
7554 - name : Release
7655 uses : softprops/action-gh-release@v2
7756 if : startsWith(github.ref, 'refs/tags/')
8160 dist/*.zip
8261 dist/*.AppImage
8362 dist/*.deb
84- dist/*.exe
8563 env :
8664 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 6060 " deb"
6161 ],
6262 "category" : " Development"
63- },
64- "win" : {
65- "target" : [
66- " nsis" ,
67- " zip"
68- ]
6963 }
7064 }
7165}
You can’t perform that action at this time.
0 commit comments