mirror of
				https://github.com/actions/checkout.git
				synced 2025-10-31 10:08:37 +08:00 
			
		
		
		
	Set correct input
This commit is contained in:
		
							parent
							
								
									421cc9f765
								
							
						
					
					
						commit
						6c8fae3820
					
				|  | @ -3,7 +3,7 @@ import * as fsHelper from './fs-helper' | |||
| import * as github from '@actions/github' | ||||
| import * as path from 'path' | ||||
| import * as workflowContextHelper from './workflow-context-helper' | ||||
| import {IGitSourceSettings} from './git-source-settings' | ||||
| import { IGitSourceSettings } from './git-source-settings' | ||||
| 
 | ||||
| export async function getInputs(): Promise<IGitSourceSettings> { | ||||
|   const result = ({} as unknown) as IGitSourceSettings | ||||
|  | @ -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 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Gonzalo Peci
						Gonzalo Peci