From 32c3863b37b970138ca203909d1885db511fca0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=A5=E6=B5=B7?= Date: Thu, 2 Feb 2023 17:03:43 +0800 Subject: [PATCH] echo step message --- build.gh | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/build.gh b/build.gh index 9278a4a3..80eeeaf7 100644 --- a/build.gh +++ b/build.gh @@ -8,7 +8,9 @@ WKDIR=`dirname $GITHUB_WORKSPACE` mkdir -p $WKDIR cd $WKDIR -# Download source code +########################################### + +echo "Download source code" if [ ! -d tdp-cloud ]; then git clone https://github.com/tdp-resource/tdp-cloud.git @@ -20,14 +22,18 @@ fi chmod +x $WKDIR/*/build.sh -# Compile front-end components +########################################### + +echo "Compile front-end components" cd $WKDIR/tdp-cloud-ui npm i && ./build.sh cp -av $WKDIR/tdp-cloud-ui/build/* $WKDIR/tdp-cloud/front/ -# Compile backend components +########################################### + +echo "Compile backend components" cd $WKDIR/tdp-cloud go mod tidy && ./build.sh