Pipeline inspection in unknown environments is challenging for robots, and various In-pipe crawling robots have been developed in recent years to perform pipeline inspection. Most of these robots comprise multiple segments and require multiple actuators to realize the pipeline locomotion, resulting in complicated system composition and large energy consumption. In this paper, inspired by the crawling principles of earthworm locomotion, we propose a single-actuated camshaft robot that can realize multiple sequential motions for pipeline crawling. The proposed singled-actuated camshaft robot contains one actuator and three segments: head anchoring, body elongation, and rear anchoring segment. The multiple sequential motions of these three segments are realized based on the cam mechanisms. Umbrella-shaped elastic rubbers are longitudinally arranged around the head and rear anchoring segments. Each segment contains a cam bracket. The camshaft's rotatory motion pushes the cam brackets to generate the axial translational motion, resulting in the umbrella-shaped elastic rubbers being expanded or contracted. The proposed camshaft robot's expansion and contraction motion are sequentially realized by the phase deviation of the camshafts. First, the structures of the proposed robot are designed. Then, the cam curves are modeled, the expansion/contraction ratio of the rear/head anchoring segment is calculated, the phase deviation of the camshafts is determined, and multiple sequential motions of the proposed robot are simulated. Finally, we fabricate the proposed camshaft robot and carry out crawling experiments in pipelines with different shapes and diameters.