How to add step to run utility workflow in online editor?

workflow-editor
workflow
#1

Hello everyone,

I’ve created some simple utility workflows that I’d like to run in multiple workflows (primary, deploy, etc.).

I tried using Bitrise run step, however it requires the path to bitrise.yml which I don’t know.

Any tips how to do that?
Thanks!

0 Likes

#2

You can download it from bitrise.io (bitrise.yml tab).

0 Likes

#3

I’m missing the next step after I download it, could you expand on it?

Why am I supposed to download it if there is a fully-fledged online workflow editor?

0 Likes

#4

Sorry, maybe I misunderstood your intent.

If you just want to run the utility workflow in project where it is defined you can use Workflow before or Add workflow after buttons in editor.

If you want to run it as a part of its integration tests you need some bitrise.yml file and Bitrise run step. However you cannot run utility workflow alone, there has to be at least one regular workflow.

1 Like

#5

you can use Workflow before or Add workflow after buttons in editor.

Okay, that helps. Most workflows start with

  • Activate SSH key
  • Git clone
  • Cache pull
  • Flutter install

and end with

  • Bitrise deploy
  • Cache push

This means that I get some composability with utility workflows and your recommendation.

you need some bitrise.yml file and Bitrise run step

Right! Well, I guess I’ll go with the first approach. Thanks! How do I go about marking your replay as answer? :slight_smile: Or is there some way to mark this discussion as resolved?

0 Likes

#6

AFAIK in this category you can only use heart button to like the post.

0 Likes