Usually the phrase, "minimizing the action" is somewhat misused and can make things confusing for this reason. Finding the "extreme points" or "stationary points" of the action is what is important. The "principle of least action" is more accurately termed the "principle of stationary action."
For instance, in Lagrangian Mechanics, any path that extremizes the action, i.e. [itex]\delta S=0[/itex], whether minima or maxima, will be a solution to the Euler-Lagrange equation.