make a single step, then, add an extraneous cube, then use the array modifier on the step with the object offset option checked. select the cube as your object. now by changing the rotation and position of the cube, you can make a staircase. apply the modifier if you need to change scale or you will get a snail shell effect.