title: How to create a build pipeline so that it can build multiple dependent repositories?
body: <p>Currently we have two github repositories. Lets say it is repoA and repoB. We have some integration tests in repoA and some unit tests in repoB, and repoA depends on repoB. </p>
  
  <p>What we want is when the build is successful along with all the tests in repoB, to start building the repoA along with the changes of repoB. This is a java project therefore I am using the POM version specified repoB to reflect those changes in repoA.</p>
  
  <p>Is there a way to set this up in a CI/CD tool?</p>