Skip to content

Commit

Permalink
Try displaying step outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
lbianchi-lbl committed Apr 23, 2024
1 parent 91e02c7 commit effa906
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/codecov-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@ jobs:
# so we don't need to add a conditional to run this step only for PR events
pr_number="$(jq < event.json '.number')"
echo "pr-number=$pr_number" >> "$GITHUB_OUTPUT"
- name: Show event-info.outputs
uses: actions/github-script@v7
with:
script: |
txt = JSON.stringify(${{ steps.event-info.outputs }}, null, 4);
core.summary.addCodeBlock(txt, 'json');
core.summary.write()
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
Expand Down

0 comments on commit effa906

Please sign in to comment.