The Attack action is one action that allows you to make a melee weapon attack. It is not the only action to do so, and it isn't a case of specific trumping general to allow another action to also do so, because there is no rule that says the Attack action is the only way to make a melee weapon attack.