Troy Taormina-USA TODAY Sports

Framber Valdez struck out 10 batters in five innings to lift the host Houston Astros to a 3-2 victory over the Philadelphia Phillies on Wednesday in the regular-season finale for both teams.

Houston's Christian Vazquez belted a solo homer in the seventh inning and Chas McCormick had an RBI double in the third to highlight his three-hit performance.

Valdez (17-6) allowed just two hits en route to recording his 27th quality start of the season. He exited after 88 pitches for the Astros (106-56), who will await their next opponent after earning a first-round bye in the American League playoffs.

Houston's Bryan Abreu struck out two batters in the sixth inning and Ryne Stanek retired the side in the seventh to lower his ERA to 1.15, the lowest for a reliever in franchise history.

Phil Maton started the eighth inning and hit Dalton Guthrie with a pitch before squaring off against Nick Maton, his younger brother. Nick Maton singled to right-center field to put runners on first and second base, and Brandon Marsh's double to right field plated Guthrie to trim the Astros' lead to 3-1.

Rhys Hoskins added a sacrifice fly in the eighth inning for the Phillies (87-75), who visit the St. Louis Cardinals on Friday afternoon in Game 1 of their best-of-three National League wild-card series.

Ryan Pressly retired the side in order in the ninth inning to secure his 33rd save of the season.

The Astros opened the scoring in the third after Mauricio Dubon doubled off Michael Plassmeyer (0-1) to lead off the inning. He came around to score two batters later after McCormick ripped a shot into the left-field corner.

McCormick didn't wait there for long, as he scampered home two batters later on Yordan Alvarez's single to shallow left-center field.

Vazquez tacked on a run in the seventh after depositing a 1-2 fastball from Plassmeyer over the wall in left field. Vazquez's homer was his ninth of the season and first since he belted two on July 22 while playing for the Boston Red Sox.

Plassmeyer permitted three runs on nine hits in six innings in relief of opener Bailey Falter.

More must-reads:

TODAY'S BEST
Frank Vogel fell victim to a Suns ownership group eager to win
Luka Doncic hands OKC first playoff loss with gutsy Game 2 effort
Three takeaways as Rangers take commanding 3-0 series lead on Hurricanes
Rams make surprising move with former team captain
Ohio State AD is wrong for thinking Michigan wins deserve asterisk
Padres OF Jurickson Profar is a legitimate MVP candidate
Steelers' Cameron Heyward comments on controversial Justin Fields idea
Pacers coach claims officials are biased against 'small market' teams
14-year-old phenom signs unprecedented MLS deal that includes future Man City transfer
Tiger Woods, Rory McIlroy's 'soured' relationship paints murky future for PGA Tour
Stars almost blow another lead, even series with Avalanche
Auburn's Hugh Freeze uncomfortable with 'bidding wars' for top players in transfer portal
Cavaliers punch back, blow out Celtics in Game 2
Coach: Oilers star center could miss Game 2 vs. Canucks
Watch: Cavaliers' Evan Mobley turns defense into offense in Game 2 vs. Celtics
Xander Schauffele tops stacked leaderboard after first round of Wells Fargo Championship
Suns talks with head-coaching target 'expected to move quickly'
Knicks get even more bad injury news ahead of Game 3
2008 Celtics champion sentenced to prison despite emotional plea
Skip Bayless makes huge Tom Brady prediction after Netflix roast

Want more Astros news?

Join the hundreds of thousands of fans who start their day with Yardbarker's Morning Bark, the best newsletter in sports.