How to bake animation in blender 2.8?
You can bake animation in Blender 2.8!

You'll need access to the Object pill menu. The easiest way to get to this is by clicking on the Animation workspace tab. Then, inside the right layout panel it opens click Object -> Animation -> Bake Action

There you will have access to all the required settings for baking.

Note: If you are animating poses, you can also get to the menu from the equivalent Pose pill menu. Pose -> Animation -> Bake Action

On the menu it pulls up, you can also choose whether you'd like to bake poses, or object data.