As above, but high nickel cast iron welding rods should do it, they will weld steel fine and the malleable nature of the nickel stops the cast cracking in the HAZ.
They are expensive but an advantage over the stainless rods @Turbo recommended are they can be bought in small quantities.
I've bought 309 for those occasions but be aware about the nature of the welding joint...
Steel and cast iron have different heat dissipation properties and they have different expansion rates.
So if it's not a critical component or something exposed to temperature variations like heating and cooling cicles, you should not have any problems even using regular stainless or at an extreme just 7018.
Otherwise you have to use NiFe rods because chrome in stainless rods reacts with carbon and manganese contained in both steel and cast iron creating an extremely hard alloy not machinable and most likely very brittle.
If you need to make an anti wear surface on a budget you can use a stainless and a 7018 rod together to get a pretty good result.
That's an example to better understand what I've said above