President Barack Obama pauses while speaking Friday in the James Brady Press Briefing Room at the White House in Washington.

WASHINGTON — President Barack Obama says House Republicans are trying to pass the most extreme and unworkable version of an immigration bill even though they know the bill isn’t going anywhere.

Republicans are pushing legislation that could clear the way for eventual deportation of more than 500,000 immigrants brought here illegally as kids and address the surge of immigrants at the U.S.-Mexico border.

Obama says Republicans know that legislation won’t succeed in the Senate. He says Republicans aren’t even trying to solve the problem. He says they are just trying check a box leaving town for their annual August recess.

Obama says he will have to act alone to address the crisis because the government is running out of money to deal with it.