mirror of
https://github.com/actions/checkout.git
synced 2026-01-20 15:48:55 +08:00
.
This commit is contained in:
parent
d415b27760
commit
306dc1c898
4 changed files with 47 additions and 14 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue