Combining cardio with strength training can interfere with muscle and strength development. In exercise science, this is known as the "Interference Effect" [1-3]. Luckily, there are ways you can minimize the negative effects of cardio on strength, picking a proper cardio modality is one of these ways. .
Cycling, in particular, seems to be a viable option for those who want to regularly perform cardio and improve muscle size. A meta-analysis found that when strength training is combined with cycling instead of running, more muscle and strength development occurs . .
This may be because running is high-impact and has a high eccentric component, which causes greater muscle damage and requires more time to fully recover from . Cycling on the other hand, is low-impact and causes less muscle damage. .
So you can probably achieve a small benefit if you use the stationary bike instead of running on a treadmill. .
With that said, if you are able to consistently go out for a run but absolutely hate cycling, don't feel obliged to change what you're currently doing. Being consistent in your training is far more important than optimizing small details. .