Green-Flame Blade uses the CAST A SPELL action, not the ATTACK action

Cleric offensive cantrip