Skip to content

Commit

Permalink
Update ::set-output invocations (now deprecated) to use environment f…
Browse files Browse the repository at this point in the history
  • Loading branch information
0x6675636b796f75676974687562 committed Nov 10, 2022
1 parent 9fb75aa commit 6e1abab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@ runs:
IFS=$'\n'
INPUT_PATHS=(${{ inputs.input-paths }})
{ diktat --no-download-progress --verbose "${DIKTAT_ARGS[@]}" "${INPUT_PATHS[@]}" | tee diktat.log; } && exit_code=$? || exit_code=$?
echo "::set-output name=summary-line::$(tail -n1 diktat.log 2>/dev/null)"
echo "summary-line=$(tail -n1 diktat.log 2>/dev/null)" >>$GITHUB_OUTPUT
rm -f diktat.log
echo "::set-output name=exit-code::${exit_code}"
echo "exit-code=${exit_code}" >>$GITHUB_OUTPUT
env:
GITHUB_TOKEN: ${{ github.token }}
shell: bash
Expand Down

0 comments on commit 6e1abab

Please sign in to comment.