From bb6134f5c435cfdb24e94c170e5f89663bac557c Mon Sep 17 00:00:00 2001 From: Nikita Petko Date: Mon, 2 Sep 2024 19:37:06 +0100 Subject: [PATCH] Update build.yml #!components: grid-bot Signed-off-by: Nikita Petko --- .github/workflows/build.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0d711893..2c301b10 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -275,6 +275,15 @@ jobs: return; } + + const lsCommand = `ls -la ${deployDirectory}` + try { + child_process.execSync(lsCommand, { stdio: 'inherit' }); + } catch (error) { + core.setFailed(`Failed to ls component ${component}`); + + return; + } }