I have 2 repositories - 1 ADO & 1 GitHub:
ADO repo contains internal code
GitHub repo contains external code
I'm using https://learn.microsoft.com/en-us/azure/devops/pipelines/repos/multi-repo-checkout?view=azure-devops to checkout the above repositories.
I need to use some code files in GitHub repo to build the code in ADO repo (meaning internal code in ADO repo has dependency to external code GitHub repo).
Example
<ADO repo>
<ADO-code-file>
<content>:
private readonly IXYZ _log = null;
<GitHub repo>
<GitHub-code-file>: IXYZ.cs
<content>:
public interface IXYZ
{
}
build for internal code in ADO repo
private readonly IXYZ _log = null;
is failing now because IXYZ.cs is a part of GitHub repository.
Is it possible to refer to the external code in GitHub repo from ADO repo?