Did Obama's executive action on immigration break the law?

Texas Gov.-elect Greg Abbott ready to sue the president on behalf of his state