Skip to content

Commit

Permalink
update GITHUB_OUTPUT instead of using set-output (#46)
Browse files Browse the repository at this point in the history
* update GITHUB_OUTPUT env instead of using set-output

* use double qoute
  • Loading branch information
nao23 authored Dec 28, 2022
1 parent c33e075 commit 70985cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

0 comments on commit 70985cf

Please sign in to comment.