The question, to me, sounds like nonsense (if you will excuse such potentially provocative language): if you intend Evil with your action and achieve Evil through that action then in what way can that action be described as a Good action?
At most, the action may be of a similar form to some Good action and thus may bear enough of a superficial resembelance to a Good action that an outside obsever who was not aware of your intent or the results of the action may mistake it for a Good action... but they would be mistaken. It is not a Good action.