PHILADELPHIA — Walker Buehler pitched five scoreless innings as the Phillies beat Miami 1-0 on Thursday night, eliminating the Marlins from the wild-card race.

After hitting a team-record eight homers Wednesday night in an 11-1 victory that wrapped up a first-round bye, the Phillies scored the lone run on Alec Bohm’s first-inning groundout, scoring Harrison Bader.

Buehler (10-7) allowed three hits and three walks and hit a batter. Taijuan Walker followed with two innings of relief, Matt Strahm pitched the eighth and, after an hour-long rain delay, 40-year-old David Robertson finished for his second save.

Janson Junk (6-4) took the loss.

Key moment

It looked like trouble the Phillies when Walker, scheduled to split duty with Buehler, entered in the sixth and walked Miami’s Xavier Edwar

See Full Page