mirror of
https://github.com/actions/checkout.git
synced 2025-12-14 17:01:38 +08:00
Set correct input
This commit is contained in:
@@ -142,7 +142,7 @@ export async function getInputs(): Promise<IGitSourceSettings> {
|
||||
result.submodules = true
|
||||
}
|
||||
result.submodulesFetchJobs = Math.floor(
|
||||
Number(core.getInput('submodulesFetchJobs') || '1')
|
||||
Number(core.getInput('submodules-fetch-jobs') || '1')
|
||||
)
|
||||
if (isNaN(result.submodulesFetchJobs) || result.submodulesFetchJobs < 0) {
|
||||
result.submodulesFetchJobs = 0
|
||||
|
||||
Reference in New Issue
Block a user