They are both important. You can't train one of them, and neglect the other.
A guy with good GS, but bad stamina will spend less minutes on the court and will under-perform in the second half of the game.
A player with Prominent stamina (that's the maximum) and bad GS will under-perform during the whole game, but at least he'll be consistent.