add publishing api for upload artifacts