This commit is contained in:
eric sciple
2019-12-09 19:15:39 -05:00
parent d415b27760
commit 306dc1c898
4 changed files with 47 additions and 14 deletions

View File

@@ -79,6 +79,12 @@ export async function getSource(settings: ISourceSettings): Promise<void> {
}
if (!git || `${1}` == '1') {
core.info(
`Git version ${gitCommandManager.MinimumGitVersion} was not found in the PATH.`
)
core.info(
`Instead downloading the repository files using the GitHub REST API.`
)
await githubApiHelper.downloadRepository(
settings.accessToken,
settings.repositoryOwner,