Your concern is only with actions, never with their fruits. Let not the fruits of actions be your motive. (at the same time) let not your inclination be towards action.
कर्मण्येवाधिकारस्ते मा फलेषु कदाचन। मा कर्मफलहेतुर्भूर्मा ते सङ्गोऽस्त्वकर्मणि॥