From 150bb6848666beca0b8f2e5832b20ae5d842d9fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uro=C5=A1=20Marolt?= Date: Tue, 9 Jan 2024 13:02:49 +0100 Subject: [PATCH] testing custom action --- .github/actions/node/builder/index.js | 7 ++++--- .github/actions/node/src/inputs.ts | 8 +++++--- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/actions/node/builder/index.js b/.github/actions/node/builder/index.js index e0f943af91..9b3241afaf 100644 --- a/.github/actions/node/builder/index.js +++ b/.github/actions/node/builder/index.js @@ -26213,9 +26213,9 @@ const getInputs = async () => { throw new Error(`Unknown action step: ${step}!`); } } - core.info(`Detected action steps: ${actionSteps.join(', ')}`); - core.info(`Action inputs: ${JSON.stringify(results)}`); - core.info(`Builder definitions: ${JSON.stringify(await (0, utils_1.getBuilderDefinitions)())}`); + // core.info(`Detected action steps: ${actionSteps.join(', ')}`) + // core.info(`Action inputs: ${JSON.stringify(results)}`) + // core.info(`Builder definitions: ${JSON.stringify(await getBuilderDefinitions())}`) if (results[types_1.ActionStep.BUILD] !== undefined) { if (results[types_1.ActionStep.BUILD].images.length === 0 && results[types_1.ActionStep.DEPLOY] !== undefined) { // calculate images from services @@ -26231,6 +26231,7 @@ const getInputs = async () => { images.push(definition.imageName); } } + results[types_1.ActionStep.BUILD].images = images; } } inputs = results; diff --git a/.github/actions/node/src/inputs.ts b/.github/actions/node/src/inputs.ts index bd531e4f95..f5f504e126 100644 --- a/.github/actions/node/src/inputs.ts +++ b/.github/actions/node/src/inputs.ts @@ -81,9 +81,9 @@ export const getInputs = async (): Promise => { } } - core.info(`Detected action steps: ${actionSteps.join(', ')}`) - core.info(`Action inputs: ${JSON.stringify(results)}`) - core.info(`Builder definitions: ${JSON.stringify(await getBuilderDefinitions())}`) + // core.info(`Detected action steps: ${actionSteps.join(', ')}`) + // core.info(`Action inputs: ${JSON.stringify(results)}`) + // core.info(`Builder definitions: ${JSON.stringify(await getBuilderDefinitions())}`) if (results[ActionStep.BUILD] !== undefined) { if (results[ActionStep.BUILD].images.length === 0 && results[ActionStep.DEPLOY] !== undefined) { @@ -102,6 +102,8 @@ export const getInputs = async (): Promise => { images.push(definition.imageName) } } + + results[ActionStep.BUILD].images = images } }