Fix an issue with publishing artifacts