build: free up macos disk space on Mac publish (#21569)

This commit is contained in:
John Kleinschmidt 2019-12-18 14:54:52 -08:00 committed by Shelley Vohr
parent 8ffc58bdba
commit b6214fdddf

View file

@ -445,6 +445,9 @@ step-electron-publish: &step-electron-publish
run: run:
name: Publish Electron Dist name: Publish Electron Dist
command: | command: |
if [ "`uname`" == "Darwin" ]; then
rm -rf src/out/Default/obj
fi
cd src/electron cd src/electron
if [ "$UPLOAD_TO_S3" == "1" ]; then if [ "$UPLOAD_TO_S3" == "1" ]; then
echo 'Uploading Electron release distribution to S3' echo 'Uploading Electron release distribution to S3'