Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
electron-builder:Set publish option to 'never' (#790)
We're using the electron-builder tool to build the Electron application for all 3 major OS, in our automated release workflow. electron-builder has a default "publish" feature, where it tries to upload the built application to GitHub if it detects that we're building the application in a GitHub CI environment. It requires the "GH_TOKEN" to be defined in the environment, in order to use this feature. We're not actually using this publish feature, as we use another GitHub action to upload the applications. But since we recently removed the "GH_TOKEN" from our deployment workflow file, electron-builder complains about the missing "GH_TOKEN" and stops building the application. Let's configure electron-builder's "publish" option to "never", in the commands used for building the application, so that electron-builder does not try to publish the application.
- Loading branch information