chore: actually publish from circleci and always build node headers on vsts
This commit is contained in:
parent
9ec7137443
commit
ad9e01393d
2 changed files with 18 additions and 1 deletions
|
@ -179,6 +179,21 @@ step-nodejs-headers-build: &step-nodejs-headers-build
|
|||
cd src
|
||||
ninja -C out/Default third_party/electron_node:headers
|
||||
|
||||
step-electron-publish: &step-electron-publish
|
||||
run:
|
||||
name: Publish Electron Dist
|
||||
command: |
|
||||
cd src/electron
|
||||
if [ "$ELECTRON_RELEASE" == "1" ]; then
|
||||
if [ "$UPLOAD_TO_S3" != "1" ]; then
|
||||
echo 'Uploading Electron release distribution to github releases'
|
||||
script/upload.py
|
||||
else
|
||||
echo 'Uploading Electron release distribution to s3'
|
||||
script/upload.py --upload_to_s3
|
||||
fi
|
||||
fi
|
||||
|
||||
step-persist-data-for-tests: &step-persist-data-for-tests
|
||||
persist_to_workspace:
|
||||
root: .
|
||||
|
@ -411,6 +426,9 @@ steps-electron-build-for-publish: &steps-electron-build-for-publish
|
|||
# Node.js headers
|
||||
- *step-nodejs-headers-build
|
||||
|
||||
# Publish
|
||||
- *step-electron-publish
|
||||
|
||||
|
||||
steps-native-mksnapshot-build: &steps-native-mksnapshot-build
|
||||
steps:
|
||||
|
|
1
vsts.yml
1
vsts.yml
|
@ -56,7 +56,6 @@ jobs:
|
|||
cd src
|
||||
ninja -C out/Default third_party/electron_node:headers
|
||||
displayName: Build Node.js headers for testing
|
||||
condition: and(succeeded(), eq(variables['RUN_TESTS'], '1'))
|
||||
|
||||
- bash: |
|
||||
cd src
|
||||
|
|
Loading…
Add table
Reference in a new issue