Brandon Moss hit a game-ending RBI single with one out in the ninth inning to give Oakland another dose of late-inning dramatics as the Athletics beat the New York Yankees 3-2 on Friday night for their seventh win in eight games.

Yoenis Cespedes singled with one out in the ninth off Cody Eppley (0-1) for his fourth hit of the game and went to second on Jonny Gomes' infield hit. Moss, who left the bases loaded twice earlier in the game, lined a single to right field and Cespedes slid in safely ahead of Andruw Jones' throw.

That gave Oakland its 10th walk-off win of the season and seventh in its past 14 home games, bailing out All-Star closer Ryan Cook, who allowed a game-tying homer to Robinson Cano in the top of the ninth.

(Copyright 2012 by The Associated Press.  All Rights Reserved.)