While the when attribute can be attached to individual commands, it can not be directly attached to orb commands. The orb would require an additional parameter which would then need to be passed down into each sub-command of that orb command.example:
  • run:
name: Upload CodeCov.io Data
command: bash <(curl -s https://codecov.io/bash) -F unittests
when: always # Uploads code coverage results, pass or fail
  • namespace/orb:
when: always # This is not a valid parameter
CCI-I-1360