Apply "when: always" to orb commands.
K
Kyle Tryon
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
K
Kevin Roulleau
Here are pull requests for adding support for "when" parameter for s3 orb.https://github.com/CircleCI-Public/aws-s3-orb/pull/6https://github.com/CircleCI-Public/aws-cli-orb/pull/35