[desktop] Don't invoke electron-builder twice on CI
This commit is contained in:
parent
0178c64e34
commit
4db07149ae
2 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Add table
Reference in a new issue