Skip to content

Commit

Permalink
feat: adding output to github env
Browse files Browse the repository at this point in the history
  • Loading branch information
mejmo2 committed Nov 8, 2022
1 parent 38130ac commit 44af729
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ else
output=$( oasdiff -format "$format" -base "$base" -revision "$revision" 2>&1 )
fi

retVal=$?
echo -e "$output"
echo "text<<EOF" >> $GITHUB_OUTPUT
echo "$output" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
exit $retVal

0 comments on commit 44af729

Please sign in to comment.