SAN FRANCISCO — Having to use Cameron Maybin and Thairo Estrada because DJ LeMahieu and Gio Urshela left the Yankees’ 11-5 win Sunday over the Giants with injuries, manager Aaron Boone used starting pitcher J.A. Happ as a pinch hitter for Domingo German in the seventh inning and he grounded out.

Luke Voit’s walk in the first inning stretched his consecutive game streak of getting on base to 38. That is the second-longest by a Yankee since the start of the 2005 season. Mark Teixeira is tops at 42, set from June 6 to July 26, 2010.

Miguel Andujar didn’t play in an extended spring training game Sunday but will play Monday, with the plan being that Andujar will join the Single-A Tampa Tarpons on Tuesday to begin a minor-league rehab assignment.

Andujar has played three big-league games, the last one March 31, when he suffered a tear to his right shoulder labrum.

Clint Frazier took batting practice and ran on a treadmill Sunday, which are steps the outfielder has to take in order to work his way off the injured list.

“Hopefully when we are in Arizona, he will have a chance to get out on the field and do the final running he would have to pass through to start thinking about being a player for us again,’’ Boone said Sunday morning.

Frazier, who jammed his left ankle getting back into second base last Monday in Anaheim, is eligible to come off the shelf Friday, when the Yankees open a seven-game homestand against the Twins.

Chad Green’s scheduled start for Triple-A Scranton/Wilkes-Barre on Sunday was rained out. The Yankees are hoping Green, who was demoted last week, can get on track with a regular work schedule.

“He can really work on it and control the environment,’’ Boone said about using Green to pitch at the beginning of a game, which he is scheduled to do Monday.

Counted on to be a major piece of the Yankees’ bullpen, Green lasted 10 games into the big-league season. The 27-year-old right-hander had an 0-2 record, a 16.43 ERA and 15 hits in 7 ²/₃ major league innings.

Former Yankees All-Star Bernie Williams was at Oracle Park on Sunday with the Breathless organization to raise awareness of idiopathic pulmonary fibrosis (IPF), a rare lung disease that claimed the life of his father and affects up to 132,000 people. Williams joined the Breathless campaign to educate people about the symptoms of IPF, which include breathlessness, a dry, persistent cough and the importance of early diagnosis.

Watching reliever Luis Cessa take three hard cuts while striking out late in Saturday’s 6-4 win over the Giants was unsettling for Boone and, according to the manager, pitching coach Larry Rothschild.

After the ninth-inning whiff in a game the Yankees were leading, 6-0, Cessa gave up two home runs and four runs in the home ninth and forced Boone to call for closer Aroldis Chapman to get the final out of the game.

“I think it’s fair [to say] that it took a little of the edge away, took away the focus,’’ Boone said of Cessa’s hacks. “Any time in the American League pitchers hit and now all of a sudden one of our relievers has to take an at-bat.’’

Cessa is a converted infielder and his swings looked a lot better than the feeble hacks offered by many AL pitchers during interleague games.

The Yankees entered Sunday one of eight big-league teams to not have been shut out. The last time the Yankees were blanked was last June 30 in an 11-0 loss to the Red Sox — 110 games ago.