I have been trying to import a simple animation I made in blender with one action, but when I save it in the assets folder and it appears in the project panel the animation is not with it. What could be causing this?
See DW-MM comments for correct answer.
Unity ONLY imports Armature animations from blender.
In case of simple amimations you can code in unity, still if that is not what you will, then your only option is parenting an armature to your mesh and animate the bones.