From 6c8fae3820074de6b89d2b45f3f6d4dba8955347 Mon Sep 17 00:00:00 2001 From: Gonzalo Peci Date: Thu, 14 Dec 2023 15:49:20 +0100 Subject: [PATCH] Set correct input --- src/input-helper.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/input-helper.ts b/src/input-helper.ts index 87ebbe0..6acd28f 100644 --- a/src/input-helper.ts +++ b/src/input-helper.ts @@ -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 { const result = ({} as unknown) as IGitSourceSettings @@ -142,7 +142,7 @@ export async function getInputs(): Promise { 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