md2 Animation

Found a similar thread here addressing the same question but it seems to be outdated because there is no bake key in the action editor anymore. How would I go about exporting an .md2 file with the model’s animation?