Skip to content

Commit

Permalink
multiline output
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-sirotin committed Aug 27, 2024
1 parent ce419d1 commit 392ef2c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/commit-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ jobs:
echo "exit_code=$exit_code" >> $GITHUB_OUTPUT
if [[ $exit_code -ne 0 ]]; then
echo "error_message=$output" >> $GITHUB_OUTPUT
echo 'error_message<<EOF' >> $GITHUB_OUTPUT
echo $output >> $GITHUB_OUTPUT
echo 'EOF' >> $GITHUB_OUTPUT
else
has_breaking_changes=$(echo "$output" | sed -n '2p')
echo "has_breaking_changes=$has_breaking_changes" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 392ef2c

Please sign in to comment.