my cars been down for 6 months WON"T SPARK

I never checked the voltage while cranking but I know it has like 12 volts when it's not cranking the cam is timed right and so is the ignition or it was when it stopped working