Prepare build for uploading artifacts