# Is it possible to use other steps in your step?

**URL:** <https://discuss.bitrise.io/t/is-it-possible-to-use-other-steps-in-your-step/13281>\
**Category:** Question & Answer\
**Created:** [June 10, 2020, 10:40am UTC](https://discuss.bitrise.io/t/is-it-possible-to-use-other-steps-in-your-step/13281 "2020-06-10T10:40:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ned](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/ned/32/683_2.png) [@ned](https://discuss.bitrise.io/u/ned)\
**Post date:** [June 10, 2020, 10:40am UTC](https://discuss.bitrise.io/t/is-it-possible-to-use-other-steps-in-your-step/13281/1 "2020-06-10T10:40:11Z")

</div>

Is it possible to include another step from bitrise and use it output?

---

<div class="post-metadata">

**Author:** ![non-binary](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/non-binary/32/2764_2.png) [@non-binary](https://discuss.bitrise.io/u/non-binary)\
**Post date:** [June 10, 2020, 4:49pm UTC](https://discuss.bitrise.io/t/is-it-possible-to-use-other-steps-in-your-step/13281/2 "2020-06-10T16:49:04Z")

</div>

Hi @ned,

Can you please elaborate what you mean?

You can use the output environment variables as input for other steps.

---

<div class="post-metadata">

**Author:** ![ned](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/ned/32/683_2.png) [@ned](https://discuss.bitrise.io/u/ned)\
**Post date:** [June 10, 2020, 5:27pm UTC](https://discuss.bitrise.io/t/is-it-possible-to-use-other-steps-in-your-step/13281/3 "2020-06-10T17:27:06Z")

</div>

For example there is a step which reads XCode project properties ([https://www.bitrise.io/integrations/steps/xcode-project-info](https://www.bitrise.io/integrations/steps/xcode-project-info)) and I’m writing a step which add project version & build number as a git tag. To do this I need to parse xcode project file manually and do probably almost the same as in xcode-project-info step.  
It would be nice to include source code of xcode-project-info and just call it in my step.

If it sounds too complicated should I just ask users to add xcode-project-info step before mine and provide needed values?

---

<div class="post-metadata">

**Author:** ![non-binary](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/non-binary/32/2764_2.png) [@non-binary](https://discuss.bitrise.io/u/non-binary)\
**Post date:** [June 10, 2020, 7:32pm UTC](https://discuss.bitrise.io/t/is-it-possible-to-use-other-steps-in-your-step/13281/4 "2020-06-10T19:32:48Z")

</div>

Hi @ned,

Haha, I had this same question when developing my own step!

Unfortunately it’s not possible to use other steps in your step. You could potentially copy the code from the other one (if it’s MIT, etc) but the general idea is to pass inputs and outputs from each step. So if you need multiple functionality, you would need to either have those outputs from other step or break your step up into multiple steps.

If that makes sense. 🙂

---

<div class="post-metadata">

**Author:** ![ned](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/ned/32/683_2.png) [@ned](https://discuss.bitrise.io/u/ned)\
**Post date:** [June 10, 2020, 7:45pm UTC](https://discuss.bitrise.io/t/is-it-possible-to-use-other-steps-in-your-step/13281/5 "2020-06-10T19:45:50Z")

</div>

Got it! Thanks for your reply! 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/d/d901cf2aad020f2dd11918afc89ec2089bb87b35.png) [@system](https://discuss.bitrise.io/u/system)\
**Post date:** [July 10, 2020, 7:45pm UTC](https://discuss.bitrise.io/t/is-it-possible-to-use-other-steps-in-your-step/13281/6 "2020-07-10T19:45:52Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
