Is it possible to include environment variable in step name?

hi there! I am wondering if it’s possible to use an environment variable in a step name. Something like:

- steps:
  - run:
      name: Building Service << $SKIPPING >>
      command: |
          if $CONDITION; then
              #do something

where if $CONDITION is true, then $SKIPPING=''
and if $CONDITION is false, then $SKIPPING='(skipping step)'

Ultimately, I would like to just not execute the step at all if $CONDITION is false, but it looks like we that feature is still in the works so this is an interim solution.

1 Like