diff --git a/script.sh b/script.sh index 2bc0f27..e7639b9 100755 --- a/script.sh +++ b/script.sh @@ -80,8 +80,8 @@ echo '::group:: Running tfsec with reviewdog 🐶 ...' ${INPUT_FLAGS} tfsec_return="${PIPESTATUS[0]}" reviewdog_return="${PIPESTATUS[2]}" exit_code=$? - echo "::set-output name=tfsec-return-code::${tfsec_return}" - echo "::set-output name=reviewdog-return-code::${reviewdog_return}" + echo "tfsec-return-code=${tfsec_return}" >> "$GITHUB_OUTPUT" + echo "reviewdog-return-code=${reviewdog_return}" >> "$GITHUB_OUTPUT" echo '::endgroup::' exit "${exit_code}"