The attack is not made using the magic of the spell, though. The only magic of the spell is the radiant damage. Per RAW, for something to be part of the spell's effect, it has to break a mundane law of physics and the attack isn't doing that.
It's not using the attack action, but neither is...