Do not save workspace on failed build
Description
This MR adds to the work done in !475 (merged), workspace config should only be saved on a successful build which was previously assumed to be when the element was cached.
Changes proposed in this merge request:
- Only save workspace configuration on a successful build.
This merge request, when approved, will close issue/bug: #634 (closed)
Edited by Qinusty