We will have to use non-script format of actions if the actions are executed conditionally, something like:
I am wondering if we can provide something like
sh: skip=not condition
script
so that we can use script format of actions even under conditions.