Yordan Álvarez had a game-ending double in the ninth inning for his third hit, lifting the Houston Astros to a 2-1 win over the Chicago White Sox on Friday night.

The game was tied at 1-all when Yuli Gurriel singled off Garrett Crochet (2-3) with one out in the ninth. Álvarez smacked a ball down the right-field line that rolled into the corner, allowing Gurriel to slide home just before the throw to give Houston its fifth straight victory.

Luis García allowed one run and seven hits in seven innings, and Ryan Pressly (4-1) struck out the side in the ninth for the win.

Houston Astros' Yuli Gurriel scores the game-winning run against the Chicago White Sox during the ninth inning of a baseball game Friday, June 18, 2021, in Houston. The Astros won 2-1. (AP PhotoDavid J. Phillip)

Houston Astros' Yuli Gurriel scores the game-winning run against the Chicago White Sox during the ninth inning of a baseball game Friday, June 18, 2021, in Houston. The Astros won 2-1. (AP PhotoDavid J. Phillip)

José Altuve cooled off after hitting three homers in four games, going 0 for 4 with two strikeouts. The Astros didn’t homer on Friday night after entering with at least two homers in their previous 10 games to tie a major league record.

García tied a career-high with eight strikeouts. He settled down after the first couple of innings, retiring 13 of his last 14 batters.

Brian Goodwin got things going for the White Sox with a double down the right-field line with one out in the first and he advanced to third on a single by Yoán Moncada. José Abreu followed with a single that scored Goodwin.

Houston Astros' Yordan Alvarez, center, celebrates with teammates after hitting a game-winning RBI-double during the ninth inning of a baseball game against the Chicago White Sox Friday, June 18, 2021, in Houston. The Astros won 2-1. (AP PhotoDavid J. Phillip)

Houston Astros' Yordan Alvarez, center, celebrates with teammates after hitting a game-winning RBI-double during the ninth inning of a baseball game against the Chicago White Sox Friday, June 18, 2021, in Houston. The Astros won 2-1. (AP PhotoDavid J. Phillip)

Chicago starter Carlos Rodón yielded one run and three hits with three walks and eight strikeouts.

Rodón retired his first 13 batters before Alvarez singled with one out in the fifth. Rodón walked Carlos Correa before Abraham Toro singled to load the bases.

There were two outs in the inning when Martín Maldonado walked to score a run and tie it at 1-1. Rodón was able to limit the damage by striking out Altuve to end the inning.

Chicago White Sox starting pitcher Carlos Rodon (55) yells after striking out Houston Astros' Jose Altuve with the bases loaded to end the fifth inning of a baseball game Friday, June 18, 2021, in Houston. (AP PhotoDavid J. Phillip)

Chicago White Sox starting pitcher Carlos Rodon (55) yells after striking out Houston Astros' Jose Altuve with the bases loaded to end the fifth inning of a baseball game Friday, June 18, 2021, in Houston. (AP PhotoDavid J. Phillip)

TRAINER’S ROOM

White Sox: INF/OF Leury García was out on Friday because of a sore knee. Manager Tony La Russa said he bruised it sliding recently and they’re trying to be careful with him. ... LF Andrew Vaughn sustained a bruise to his face when a ball bounced and hit him as he slid into second on a double in the sixth inning. He remained in the game before being replaced by Adam Engel for the bottom of the eighth.

UP NEXT

Chicago White Sox center fielder Brian Goodwin catches a fly ball by Houston Astros' Martin Maldonado during the third inning of a baseball game Friday, June 18, 2021, in Houston. (AP PhotoDavid J. Phillip)

Chicago White Sox center fielder Brian Goodwin catches a fly ball by Houston Astros' Martin Maldonado during the third inning of a baseball game Friday, June 18, 2021, in Houston. (AP PhotoDavid J. Phillip)

Houston’s Framber Valdez (3-0, 1.42 ERA) opposes Lance Lynn (7-2, 1.51) when the series continues Saturday night.

More AP MLB: https://apnews.com/hub/mlb and https://twitter.com/AP_Sports