mirror of
https://github.com/actions/checkout.git
synced 2025-06-08 09:11:33 +00:00
Added separate parameter for submodules fetch depth
This commit is contained in:
parent
5a4ac9002d
commit
25e07a18d3
6 changed files with 38 additions and 2 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue