updated build action to accept parameters