The Revolution got a runner to third in the bottom of the ninth with two outs but stranded him, as Shawn Gilblair came in for Nate Roe to get the third out.
In the bottom of the ninth, Derik Capitillo got a one-out single for the Revolution and Travis Witherspoon followed with one of his own.
Alonzo Harris got York’s third consecutive single but Capitillo was caught at third for the second out and Isaias Tejeda’s single into left field was turned into an 8-2 putout for the final out.
Yusuke Kajimoto, James Skelton and Jordan Hinshaw each had two hits for the Bees, while Kajimoto also added two runs scored and an RBI. Craig Maddix and Michael Baca each had one RBI in the game.
Jonathan Pettibone got the win on the mound — his first of the year — and Gilblair picked up the save, his second.