fixed the path issue in build action hook