Does the word "action" have the same definition in the next two sentences?

The Union action of emancipating Southern slaves.

Recent federal action undermined the segregationist position.
the same meaning