mirror of
https://github.com/actions/checkout.git
synced 2025-07-03 20:38:24 +02:00
Added separate parameter for submodules fetch depth
This commit is contained in:
@ -180,7 +180,7 @@ export async function getSource(settings: IGitSourceSettings): Promise<void> {
|
||||
core.startGroup('Fetching submodules')
|
||||
await git.submoduleSync(settings.nestedSubmodules)
|
||||
await git.submoduleUpdate(
|
||||
settings.fetchDepth,
|
||||
settings.submodulesFetchDepth,
|
||||
settings.nestedSubmodules
|
||||
)
|
||||
await git.submoduleForeach(
|
||||
|
Reference in New Issue
Block a user