When you lift an object then the displacement is there in the same direction of the motion of the object. The work done is the product of the force and displacement, therefore positive work is done on the object. The gravitational force acts in the down downward direction which is opposite with respect to the displacement. Thus, negative gravitational force will act on the object.