Conditional Steps based on executor/os

I need to executor different steps depending on the OS, I have tried a number of things and no of them worked.

Here is my config

There is support for what is called Conditional steps/workflows based on parameters

From the example you have given it may be easier to just define 2 jobs, one for each target and not try and drive things with parameters.