.
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user