1
mirror of https://github.com/actions/checkout.git synced 2026-06-15 03:37:14 +00:00
This commit is contained in:
eric sciple
2019-12-09 19:15:39 -05:00
Unverified
parent d415b27760
commit 306dc1c898
4 changed files with 47 additions and 14 deletions
+6
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,