Deactivate single steps

Description of the feature request

Currently there is no option to disable specific steps. You have to delete the steps and re-add it if you want it again. All settings needs to be done again.

Use case / for what or how I would use it

Initial upload of aab or apk file is not possible by “play deploy step” it needs to be done manually. so we want to deactivate it for the first builds and activate it again, after play store entry is available.

i can imagine that there are some other use cases…

Hi @mgursch! Thanks for the request, it would make sense for this to be on the UI perhaps, but there is actually already a way to do what describe, please see: https://devcenter.bitrise.io/steps-and-workflows/disable-a-step-by-condition/

thanks for your reply - yes, it would be really helpful to handle this in workflow ui

Yeah, nice tutorial.
Seems run_if: false meet my requirement.

Example:

- script:
    run_if: false
    inputs:
    - content: |-
        #!/bin/bash
        echo "This will never run, because of run_if:false"

Reference:
https://devcenter.bitrise.io/steps-and-workflows/disable-a-step-by-condition/#disabling-a-step

But I really want to it has UIs that shows at the workflow editor.

2 Likes

Actually a duplicate of Allow disabling a step in the workflow

But this would be really useful to be able to do via the Workflow Editor directly.

1 Like