Skip to content

Commit 290fccf

Browse files
committed
fix: Use GH_TOKEN and disable auto-publish in package.json
- Change workflow to use secrets.GH_TOKEN instead of GITHUB_TOKEN - Remove publish config from package.json to prevent auto-publish - Let our workflow handle the release creation instead - This should fix the electron-builder GitHub token errors
1 parent 8c2a838 commit 290fccf

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

.github/workflows/build-release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ jobs:
3131

3232
- name: Build Electron app
3333
run: npm run build
34+
env:
35+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
3436

3537
- name: Debug build output
3638
run: |

package.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -112,12 +112,6 @@
112112
},
113113
"extraMetadata": {
114114
"name": "yng-client"
115-
},
116-
"publish": {
117-
"provider": "github",
118-
"owner": "YNG-Client",
119-
"repo": "Client",
120-
"releaseType": "release"
121115
}
122116
}
123117
}

0 commit comments

Comments
 (0)