If enabled, artifacts will only be uploaded if the build was successful.