From 5d6f0cdbd0b02843835cac347c85aabb4ed934ef Mon Sep 17 00:00:00 2001 From: Olivier ORAND Date: Tue, 1 Oct 2024 07:25:50 +0000 Subject: [PATCH] fixup!chore(github-action): build cnb image - fail late mode - write to stderr --- .github/workflows/build-using-cnb-buildpack.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-using-cnb-buildpack.yml b/.github/workflows/build-using-cnb-buildpack.yml index d2d4d9e..598f3db 100644 --- a/.github/workflows/build-using-cnb-buildpack.yml +++ b/.github/workflows/build-using-cnb-buildpack.yml @@ -122,16 +122,16 @@ jobs: type="$1" cmd="$2" status=0 - echo "$type using > $cmd <" + echo "$type using > $cmd <" 1>&2 if $cmd;then - echo "" - echo "$type failed" + echo "" 1>&2 + echo "$type failed" 1>&2 status=1 else - echo "" - echo "$type successful" + echo "" 1>&2 + echo "$type successful" 1>&2 fi - echo "check_service - status: $status" + echo "check_service - status: $status" 1>&2 return $status } export APP="http://127.0.0.1:8080"