[desktop] Don't invoke electron-builder twice on CI

This commit is contained in:
Manav Rathi 2024-05-08 12:10:20 +05:30
parent 0178c64e34
commit 4db07149ae
No known key found for this signature in database
2 changed files with 2 additions and 0 deletions

View file

@ -58,6 +58,7 @@ jobs:
uses: ente-io/action-electron-builder@v1.0.0
with:
package_root: desktop
build_script_name: build:ci
# GitHub token, automatically provided to the action
# (No need to define this secret in the repo settings)

View file

@ -8,6 +8,7 @@
"main": "app/main.js",
"scripts": {
"build": "yarn build-renderer && yarn build-main",
"build:ci": "yarn build-renderer && tsc",
"build-main": "tsc && electron-builder",
"build-main:quick": "tsc && electron-builder --dir --config.compression=store --config.mac.identity=null",
"build-renderer": "cd ../web && yarn install && yarn build:photos && cd ../desktop && shx rm -f out && shx ln -sf ../web/apps/photos/out out",