Appealing to key left-wing constituencies that could help him in a Democratic presidential primary, the governor poured $163 million into a college-scholarship program; gave a $35 million tax break to workers who pay union dues; created a $10 million immigrant legal defense fund; and renewed the millionaire tax.

The moves add up to a “press release for his presidential ambitions,” scoffed Assemblyman Al Graf, a Long Island Republican.

“He’s trying to get his progressive bona fides up. He’s saying, ‘Look at how progressive I am,’ ’’ he said.

“Cuomo has clearly taken a left-hand turn on Route 2020 with this budget,” said Democratic consultant Evan Thies. “He will point to wins for Democratic constituencies.”

Democrats called the budget— which will be voted on by the state Senate Sunday — was a “win for unions, immigrants and progressives,” whose help Cuomo will also need for his 2018 re-election campaign.

The free tuition for families earning less than $125,000 per year earned cheers from supporters of Bernie Sanders, who has endorsed the plan, and Hillary Clinton, who tweeted Saturday, “Let’s celebrate New York State getting something important done that we wanted to do nationally. A great step for progressives.”

Organized labor, which traditionally leans left and can pump tons of cash and volunteers into campaigns, applauded the union-dues tax deduction.

“Hard to overstate what a big deal this is symbolically and practically for labor. While [Republicans] are moving Right-to-Work bills, Cuomo sends a message,” labor strategist Neal Kwatra tweeted Saturday.

The budget included other goodies popular with Democratic fund-raisers, including the continuation of $445 million in tax credits for film and television — a move praised by Hollywood donors.

Cuomo trumpeted his immigrant legal defense fund as a response to President Trump’s “dramatic plans” to restrict immigration and deport undocumented people.

Graf warned that if Cuomo rebukes the president on immigration and other policies, there could be consequences since a third of the state’s budget comes from the federal government.

“He’s actually playing chicken with a semi or he’s playing Russian roulette with a fully loaded gun,” Graf said.