title: GitHub Actions: sharing/referencing jobs between workflows
body: <p>As discussed <a href="https://help.github.com/en/actions/configuring-and-managing-workflows/persisting-workflow-data-using-artifacts" rel="noreferrer">here</a>, in GitHub Actions there is a nice way of referencing <code>job</code>s in other <code>job</code>s using <code>need</code> keyword, e.g.</p>
  
  <pre><code>name: Share data between jobs
  on: [push]
  
  jobs:
    job_1:
      name: Add 3 and 7
      runs-on: ubuntu-latest
      steps:
          # Steps
  
    job_2:
      name: Multiply by 9
      needs: job_1
      # The rest of the job
  </code></pre>
  
  <p>The question that I could not find an answer to in the documentation is: <strong>Is there a way to reference/share <code>job</code>s in other workflows? (i.e. separate <code>yml</code> file)</strong>. </p>
  
  <p>My project consists of few separate workflows and each of them needs to perform the same initial <code>step</code>s. I am trying to avoid copy-pasting the same steps across different <code>workflow</code>s.</p>