# GitHub Actions set-output equivalent for Circle CI?

**URL:** <https://discuss.circleci.com/t/github-actions-set-output-equivalent-for-circle-ci/41728>\
**Category:** Build Environment\
**Tags:** circle-yml\
**Created:** [November 1, 2021, 4:35am UTC](https://discuss.circleci.com/t/github-actions-set-output-equivalent-for-circle-ci/41728 "2021-11-01T04:35:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Basix](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/basix/32/28488_2.png) [@Basix](https://discuss.circleci.com/u/Basix)\
**Post date:** [November 1, 2021, 4:35am UTC](https://discuss.circleci.com/t/github-actions-set-output-equivalent-for-circle-ci/41728/1 "2021-11-01T04:35:59Z")

</div>

I want to use the output from the command for another job. Is there a way to do it?

---

<div class="post-metadata">

**Author:** ![thekatertot](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/thekatertot/32/25169_2.png) [@thekatertot](https://discuss.circleci.com/u/thekatertot)\
**Post date:** [November 1, 2021, 11:33pm UTC](https://discuss.circleci.com/t/github-actions-set-output-equivalent-for-circle-ci/41728/2 "2021-11-01T23:33:50Z")

</div>

Hi @basix! I’m happy to help, but don’t know the specifics of GitHub Actions. Can you give a little more detail about what you want to do?

---

<div class="post-metadata">

**Author:** ![Basix](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/basix/32/28488_2.png) [@Basix](https://discuss.circleci.com/u/Basix)\
**Post date:** [November 5, 2021, 7:54am UTC](https://discuss.circleci.com/t/github-actions-set-output-equivalent-for-circle-ci/41728/3 "2021-11-05T07:54:05Z")

</div>

So in GitHub Actions, I can specify which workflows to run when a pull request is submitted. Like this: [https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#onpushpull\_requestbranchestags](https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#onpushpull_requestbranchestags)

I was wondering if I can achieve the same effect in Circle CI, as I’m looking to use this instead of GH Actions.
