mirror of
https://github.com/actions/checkout.git
synced 2026-10-01 09:01:45 +00:00
.
This commit is contained in:
1 parent
d415b27760
commit
306dc1c898
4 files changed
+47
-14
No files matched your search
@@ -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