This is an automated email from the ASF dual-hosted git repository.

hulk pushed a commit to branch unstable
in repository https://gitbox.apache.org/repos/asf/kvrocks.git


The following commit(s) were added to refs/heads/unstable by this push:
     new 7716813b Dump github event information in CI (#2049)
7716813b is described below

commit 7716813be6eceace15a8b08524adb91efdc98a3f
Author: Twice <[email protected]>
AuthorDate: Thu Jan 25 12:56:40 2024 +0900

    Dump github event information in CI (#2049)
---
 .github/workflows/kvrocks.yaml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/.github/workflows/kvrocks.yaml b/.github/workflows/kvrocks.yaml
index 16bc26f7..84f1a1ab 100644
--- a/.github/workflows/kvrocks.yaml
+++ b/.github/workflows/kvrocks.yaml
@@ -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

Reply via email to