From c8107506b08fa9f7aea79148b40a4d7a04cf6862 Mon Sep 17 00:00:00 2001 From: Maduranga Siriwardena Date: Tue, 12 Nov 2024 14:56:43 +0530 Subject: [PATCH] Add step to archive the memory dump if available --- .github/workflows/dependency-updater.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/dependency-updater.yml b/.github/workflows/dependency-updater.yml index a76d7e2e3f..d24f231d7a 100644 --- a/.github/workflows/dependency-updater.yml +++ b/.github/workflows/dependency-updater.yml @@ -161,6 +161,14 @@ jobs: path: | ${{steps.builder_step.outputs.REPO_NAME}}/mvn-build.log if-no-files-found: warn + - name: Archive heap dump + if: always() + uses: actions/upload-artifact@v4 + with: + name: heap-dump + path: | + product-is/**/heap-dump.hprof + if-no-files-found: ignore - name: Google Chat Notification run: | STATUS_COLOR=$(if [[ ${{ job.status }} == "success" ]];then echo "#009944";