Skip to content

Commit

Permalink
Dump github event information in CI (#2049)
Browse files Browse the repository at this point in the history
  • Loading branch information
PragmaTwice authored Jan 25, 2024
1 parent 360476d commit 7716813
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/kvrocks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,13 @@ jobs:
run: |
gcovr --sonarqube > ${{ env.SONARCLOUD_OUTPUT_DIR }}/coverage.xml
- name: Add event information
if: ${{ matrix.sonarcloud }}
env:
GITHUB_EVENT_JSON: ${{ toJson(github.event) }}
run: |
echo "$GITHUB_EVENT_JSON" | tee ${{ env.SONARCLOUD_OUTPUT_DIR }}/github-event.json
- name: Upload SonarCloud data
if: ${{ matrix.sonarcloud }}
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 7716813

Please sign in to comment.