File tree Expand file tree Collapse file tree 5 files changed +70
-59
lines changed
Expand file tree Collapse file tree 5 files changed +70
-59
lines changed Original file line number Diff line number Diff line change 4242 - name : Package for ${{ matrix.platform }}
4343 run : ${{ matrix.package-cmd }}
4444 env :
45- # For macOS
46- CSC_LINK : ${{ secrets.CSC_LINK }}
47- CSC_KEY_PASSWORD : ${{ secrets.CSC_KEY_PASSWORD }}
45+ # Signing certificates - important to use the correct cert per platform
46+ CSC_LINK : ${{ matrix.platform == 'macOS' && secrets.CSC_LINK || (matrix.platform == 'windows' && secrets.WIN_CSC_LINK || '') }}
47+ CSC_KEY_PASSWORD : ${{ matrix.platform == 'macOS' && secrets.CSC_KEY_PASSWORD || (matrix.platform == 'windows' && secrets.WIN_CSC_KEY_PASSWORD || '') }}
4848
4949 - name : Clean up builds
5050 shell : bash
5454 uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
5555 with :
5656 name : ${{ matrix.artifact-name }}
57- path : dist/
57+ path : |
58+ dist/*
59+ !dist/*/
5860 overwrite : true
Original file line number Diff line number Diff line change @@ -45,18 +45,22 @@ jobs:
4545 - name : Package and publish for ${{ matrix.platform }}
4646 run : ${{ matrix.package-cmd }}
4747 env :
48- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
49- # For macOS
48+ # Signing certificates - important to use the correct cert per platform
49+ CSC_LINK : ${{ matrix.platform == 'macOS' && secrets.CSC_LINK || (matrix.platform == 'windows' && secrets.WIN_CSC_LINK || '') }}
50+ CSC_KEY_PASSWORD : ${{ matrix.platform == 'macOS' && secrets.CSC_KEY_PASSWORD || (matrix.platform == 'windows' && secrets.WIN_CSC_KEY_PASSWORD || '') }}
51+ # macOS specific
5052 APPLE_ID_USERNAME : ${{ secrets.APPLE_ID_USERNAME }}
5153 APPLE_ID_PASSWORD : ${{ secrets.APPLE_ID_PASSWORD }}
5254 APPLE_ID_TEAM_ID : ${{ secrets.APPLE_ID_TEAM_ID }}
53- CSC_LINK : ${{ secrets.CSC_LINK }}
54- CSC_KEY_PASSWORD : ${{ secrets.CSC_KEY_PASSWORD }}
5555 NOTARIZE : ${{ matrix.use-apple-notarization }}
56+ # General
57+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5658
5759 - name : Upload artifacts
5860 uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
5961 with :
6062 name : ${{ matrix.artifact-name }}
61- path : dist/
63+ path : |
64+ dist/*
65+ !dist/*/
6266 overwrite : true
Original file line number Diff line number Diff line change 44const config = {
55 productName : 'Gitify' ,
66 appId : 'com.electron.gitify' ,
7- copyright : 'Copyright © 2025 Gitify Team' ,
7+ copyright : 'Copyright © 2026 Gitify Team' ,
88 asar : true ,
99 files : [
1010 'assets/images/*' ,
@@ -41,7 +41,12 @@ const config = {
4141 sign : false ,
4242 } ,
4343 win : {
44- target : 'nsis' ,
44+ target : [
45+ {
46+ target : 'nsis' ,
47+ arch : [ 'x64' ] ,
48+ } ,
49+ ] ,
4550 icon : 'assets/images/app-icon.ico' ,
4651 } ,
4752 nsis : {
Original file line number Diff line number Diff line change 7373 "homepage" : " https://gitify.io/" ,
7474 "dependencies" : {
7575 "electron-log" : " 5.4.3" ,
76- "electron-updater" : " 6.7.3 " ,
76+ "electron-updater" : " 6.8.1 " ,
7777 "menubar" : " 9.5.2" ,
7878 "react" : " 19.2.3" ,
7979 "react-dom" : " 19.2.3" ,
118118 "date-fns" : " 4.1.0" ,
119119 "dotenv" : " 17.2.3" ,
120120 "electron" : " 40.0.0" ,
121- "electron-builder" : " 26.4 .0" ,
121+ "electron-builder" : " 26.5 .0" ,
122122 "final-form" : " 5.0.0" ,
123123 "graphql" : " 16.12.0" ,
124124 "html-webpack-plugin" : " 5.6.6" ,
You can’t perform that action at this time.
0 commit comments