From bdaae950699d0c532b2ae66b8552c438db45f048 Mon Sep 17 00:00:00 2001 From: Alexander Sack Date: Tue, 6 Aug 2024 17:56:17 +0000 Subject: [PATCH] github/actions/kas-build: fix entrypoint --- .github/actions/kas-build/entrypoint.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/actions/kas-build/entrypoint.sh b/.github/actions/kas-build/entrypoint.sh index 2d4edd2..622d477 100755 --- a/.github/actions/kas-build/entrypoint.sh +++ b/.github/actions/kas-build/entrypoint.sh @@ -5,19 +5,24 @@ set -xe KAS_BUILD_ACTION_CONFIG_DIR=${KAS_BUILD_ACTION_CONFIG_DIR:-kas-build.configs/} KAS_BUILD_ACTION_TARGET=${KAS_BUILD_ACTION_TARGET} KAS_BUILD_ACTION_COMMAND=${KAS_BUILD_ACTION_COMMAND} -KAS_BUILD_ACTION_BBARGS=${KAS_BUILD_ACTION_BBARGS} +KAS_BUILD_ACTION_BBARGS=${KAS_BUILD_ACTION_BBARGS:+ -- $KAS_BUILD_ACTION_BBARGS} echo Target: $KAS_BUILD_ACTION_TARGET echo Command: $KAS_BUILD_ACTION_COMMAND echo Config-Dir: $KAS_BUILD_ACTION_CONFIG_DIR echo BBARGS: $KAS_BUILD_ACTION_BBARGS +echo WORKSPACE: +ls -la $GITHUB_WORKSPACE +echo workspace '*' +ls -la * + for c in ${KAS_BUILD_ACTION_CONFIG_DIR}/*.yaml; do echo "Building $c" kas build \ ${KAS_BUILD_ACTION_TARGET:+--target $KAS_BUILD_ACTION_TARGET} \ ${KAS_BUILD_ACTION_COMMAND:+--cmd $KAS_BUILD_ACTION_COMMAND} \ $c \ - -- ${KAS_BUILD_ACTION_BBARGS} + ${KAS_BUILD_ACTION_BBARGS} done