mirror of
https://github.com/actions/checkout.git
synced 2025-04-10 21:22:30 +00:00
Set correct input
This commit is contained in:
parent
421cc9f765
commit
6c8fae3820
1 changed files with 2 additions and 2 deletions
|
@ -142,7 +142,7 @@ export async function getInputs(): Promise<IGitSourceSettings> {
|
||||||
result.submodules = true
|
result.submodules = true
|
||||||
}
|
}
|
||||||
result.submodulesFetchJobs = Math.floor(
|
result.submodulesFetchJobs = Math.floor(
|
||||||
Number(core.getInput('submodulesFetchJobs') || '1')
|
Number(core.getInput('submodules-fetch-jobs') || '1')
|
||||||
)
|
)
|
||||||
if (isNaN(result.submodulesFetchJobs) || result.submodulesFetchJobs < 0) {
|
if (isNaN(result.submodulesFetchJobs) || result.submodulesFetchJobs < 0) {
|
||||||
result.submodulesFetchJobs = 0
|
result.submodulesFetchJobs = 0
|
||||||
|
|
Loading…
Add table
Reference in a new issue