President Donald Trump on Wednesday signed a bill that reopens the federal government.