From a383354f7dbf2a85354a3ede379ed575517eea0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uro=C5=A1=20Marolt?= Date: Tue, 9 Jan 2024 13:05:15 +0100 Subject: [PATCH] testing custom action --- .github/actions/node/builder/index.js | 3 ++- .github/actions/node/src/steps.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/actions/node/builder/index.js b/.github/actions/node/builder/index.js index 9b3241afaf..c943e8354a 100644 --- a/.github/actions/node/builder/index.js +++ b/.github/actions/node/builder/index.js @@ -26350,7 +26350,7 @@ const buildStep = async () => { const actualTag = `${tag}.${timestamp}`; for (const image of images) { core.info(`Building image: ${image}:${actualTag}`); - const exitCode = await exec.exec('bash', ['./scripts/cli', 'build', image, tag], { + const exitCode = await exec.exec('bash', ['cli', 'build', image, tag], { listeners: { stdout: (data) => { core.info(`${image} builder: ${data.toString()}`); @@ -26359,6 +26359,7 @@ const buildStep = async () => { core.error(`${image} builder error: ${data.toString()}`); }, }, + cwd: './scripts', }); if (exitCode !== 0) { core.error(`Failed to build image: ${image}:${actualTag}`); diff --git a/.github/actions/node/src/steps.ts b/.github/actions/node/src/steps.ts index 454b25f3b1..6b2cd4b940 100644 --- a/.github/actions/node/src/steps.ts +++ b/.github/actions/node/src/steps.ts @@ -29,7 +29,7 @@ export const buildStep = async (): Promise => { for (const image of images) { core.info(`Building image: ${image}:${actualTag}`) - const exitCode = await exec.exec('bash', ['./scripts/cli', 'build', image, tag], { + const exitCode = await exec.exec('bash', ['cli', 'build', image, tag], { listeners: { stdout: (data) => { core.info(`${image} builder: ${data.toString()}`) @@ -38,6 +38,7 @@ export const buildStep = async (): Promise => { core.error(`${image} builder error: ${data.toString()}`) }, }, + cwd: './scripts', }) if (exitCode !== 0) {