Does "action" mean the same thing in these two sentences?

The piano had a very stiff action.

Recent federal action undermined the segregationist position.
different meanings