diff --git a/github/fetch-job-inputs/index.js b/github/fetch-job-inputs/index.js index 152b5751..77a26499 100644 --- a/github/fetch-job-inputs/index.js +++ b/github/fetch-job-inputs/index.js @@ -27883,10 +27883,14 @@ async function run() { core.setOutput("target_name", target?.name); core.setOutput("environment_name", environment?.name); core.setOutput("release_version", release?.version); - for (const [key, value] of Object.entries(config ?? {})) + for (const [key, value] of Object.entries(config ?? {})) { + console.log("config", key, value); core.setOutput(`config_${key}`, value); - for (const [key, value] of Object.entries(variables ?? {})) + } + for (const [key, value] of Object.entries(variables ?? {})) { + console.log("variable", key, value); core.setOutput(`variable_${key}`, value); + } }) .catch((error) => { core.setFailed(`Action failed: ${error.message}`); diff --git a/integrations/fetch-job-inputs/src/index.ts b/integrations/fetch-job-inputs/src/index.ts index ccc5a9ef..41be31fc 100644 --- a/integrations/fetch-job-inputs/src/index.ts +++ b/integrations/fetch-job-inputs/src/index.ts @@ -21,10 +21,14 @@ async function run() { core.setOutput("environment_name", environment?.name); core.setOutput("release_version", release?.version); - for (const [key, value] of Object.entries(config ?? {})) + for (const [key, value] of Object.entries(config ?? {})) { + console.log("config", key, value); core.setOutput(`config_${key}`, value); - for (const [key, value] of Object.entries(variables ?? {})) + } + for (const [key, value] of Object.entries(variables ?? {})) { + console.log("variable", key, value); core.setOutput(`variable_${key}`, value); + } }) .catch((error) => { core.setFailed(`Action failed: ${error.message}`);