From 1d57520b0c608233152f07751be3cf64adfdef88 Mon Sep 17 00:00:00 2001 From: Szasza Palmer Date: Mon, 27 Feb 2023 10:13:17 +1100 Subject: [PATCH] updating the GHA output handling --- entrypoint.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 82d95af..b58de5d 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -43,9 +43,9 @@ architecture=$(uname -m) report_name="test-results-$GITHUB_REPOSITORY-$GITHUB_WORKFLOW-$architecture-$GITHUB_RUN_ID" report_name_escaped=$(echo "$report_name" | tr /\\:*\<\>\|? -) -echo ::set-output name=report-file::"$output" #reference available to other actions -echo ::set-output name=report-dir::"$report_dir" #for easy attachment of a folder -echo ::set-output name=report-name::"$report_name_escaped" #to provide a globally unique name for downloading results +echo "report-file=${output}" >> $GITHUB_OUTPUT #reference available to other actions +echo "report-dir=${report_dir}" >> $GITHUB_OUTPUT #for easy attachment of a folder +echo "report-name=${report_name_escaped}" >> $GITHUB_OUTPUT #to provide a globally unique name for downloading results # report non zero exit code if any failure or error detected if "$fail" == "true";then