mirror of
https://github.com/actions/checkout.git
synced 2025-12-14 08:51:35 +08: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