WASHINGTON — The Republican-led House of Representatives has approved funding for President Donald Trump's border wall in legislation that pushes the government closer to a partial government shutdown.

  • President Donald Trump says he won't sign temporary spending bill
  • He told GOP leaders he thinks bill kicks can down the road

The House voted 217-185, largely along party lines. The bill now goes to the Senate, where it has almost no chance of passing. 

Senators already passed their bill to avert a shutdown by extending funds to February 8. It did not include the wall funding.

Earlier Thursday President Donald Trump said he will not sign the temporary spending bill to avoid a government shutdown if it doesn't have funding for the border wall.

House Speaker Paul Ryan told reporters outside the White House Thursday that the president feels the bill just kicks the can down the road. 

The president is seeking $5 billion in funding to expand the border wall between the United States and Mexico. 

During the signing for the Farm Bill Thursday, President Trump said he would not back down on border security, and would accept steel slats at the border areas in place of an actual wall.

While Republicans could pass a bill with the funding, the Senate would need Democrats to get the bill passed, and Democrats are firmly against fully-funding the wall in this continuing resolution.

If the spending bill is not signed into law by Friday night, the government will go into a partial shutdown.

Our Spectrum DC Bureau is covering the government shutdown and will have more details on this development.

The Associated Press contributed to this story.