Skip to content

Commit

Permalink
use set-output to send error text to buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-githubs committed Nov 12, 2024
1 parent c3ca450 commit d45bb12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check-packs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ jobs:
id: check-packs
run: |
# Get the output for the PR comment body
panther_analysis_tool check-packs 2> errors.txt
echo "errors=`cat errors.txt`" >> $GITHUB_OUTPUT
panther_analysis_tool check-packs 2> errors.txt || true
echo ::set-output name=errors::`cat errors.txt`
# Run again to get the exit code
panther_analysis_tool check-packs
Expand Down

0 comments on commit d45bb12

Please sign in to comment.