From effa906777467b4c60be7c53e782fbfcc03428d0 Mon Sep 17 00:00:00 2001 From: Ludovico Bianchi Date: Tue, 23 Apr 2024 14:45:56 -0500 Subject: [PATCH] Try displaying step outputs --- .github/workflows/codecov-upload.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/codecov-upload.yml b/.github/workflows/codecov-upload.yml index 093be1e..64352d1 100644 --- a/.github/workflows/codecov-upload.yml +++ b/.github/workflows/codecov-upload.yml @@ -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: