From 9d5437db459bcbd9938980ef7363b891ebd15259 Mon Sep 17 00:00:00 2001 From: Varun Sivapalan <5470233+sivapalan@users.noreply.github.com> Date: Thu, 3 Nov 2022 10:24:43 +0100 Subject: [PATCH] Replace deprecated `set-output` usage with environment file `GITHUB_OUTPUT` (#35) --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 06f3b75..8f16aed 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -56,4 +56,4 @@ tfsec --soft-fail --out=${INPUT_SARIF_FILE} --format=sarif ${TFSEC_ARGS_OPTION} tfsec_return="${PIPESTATUS[0]}" exit_code=$? -echo ::set-output name=tfsec-return-code::"${tfsec_return}" +echo "tfsec-return-code=${tfsec_return}" >> $GITHUB_OUTPUT