[RPG] Can a Valor bard Ready a bard spell, then use the Battle Magic feature to make a weapon attack before releasing the spell

bardclass-featurednd-5ereadied-actionspells

College of Valor bards (PHB, p. 55) get the Battle Magic feature at 14th level:

You have mastered the art of weaving spellcasting and weapon use into a single harmonious act. When you use your action to cast a bard spell, you can make one weapon attack as a bonus action.

Can a Valor Bard Ready a Bard action spell (cast it but hold its power), use Battle Magic to make a weapon attack as a bonus action, and then release their spell?

Here is my use-case example:
Ready a Dimension door, throw a net (which requires you to be relatively close to the target), then release the spell to get far away. In this case, the trigger would be “as soon as the attack has been made”.

Best Answer

Yes.

The Ready action specifies that

When you ready a spell, you cast it as normal but hold its energy, which you release with your reaction when the trigger occurs.

So when you take the Ready action to ready a spell, you have, in fact, used your action to cast a bard spell. You have "cast the spell as normal," RAW. This seems to fulfill the requirements for the bonus action weapon attack: you have used your action to cast the spell. (I might read it differently if it said "if you cast a bard spell as an action.")

This presumes that you are readying the spell to be cast sometime after your weapon attack but before your next turn.