From 51d53c18fd225834e642043ba5bd99f5206216c0 Mon Sep 17 00:00:00 2001 From: Gabriel Martins Date: Mon, 27 Oct 2025 17:43:35 +0000 Subject: [PATCH] chore(): update old gh syntax --- entrypoint.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index fc68511..3b19004 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -97,14 +97,17 @@ if [ "x${REPO_URL}" != "x" ]; then fi ## Generate action outputs -echo "::set-output name=err::$res" +# echo "::set-output name=err::$res" +echo "err=$res" >> $GITHUB_OUTPUT + command="terrascan scan ${args}" result=$( $command 2>&1) result="${result//'%'/'%25'}" result="${result//$'\n'/'%0A'}" result="${result//$'\r'/'%0D'}" -echo "::set-output name=result::$result" +# echo "::set-output name=result::$result" +echo "result=$result" >> $GITHUB_OUTPUT #Executing terrascan echo "Executing terrascan as follows:"