From fda10838a4da5f25daa5b433f8b0dc003cf9a4f8 Mon Sep 17 00:00:00 2001 From: Anurag Saxena <43585259+saxena-anurag@users.noreply.github.com> Date: Mon, 16 Sep 2024 20:17:27 -0700 Subject: [PATCH] update log retension time to 10 days (#3837) --- .github/workflows/reusable-build.yml | 4 ++-- .github/workflows/reusable-test.yml | 6 +++--- .github/workflows/scorecards-analysis.yml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/reusable-build.yml b/.github/workflows/reusable-build.yml index 46555380a5..88aeb160b0 100644 --- a/.github/workflows/reusable-build.yml +++ b/.github/workflows/reusable-build.yml @@ -233,7 +233,7 @@ jobs: with: name: ${{inputs.build_artifact}}-${{matrix.configurations}} path: ${{github.workspace}}/build-${{ matrix.configurations }}.zip - retention-days: 5 + retention-days: 10 - name: Upload the MSI package if: inputs.build_msi == true @@ -282,7 +282,7 @@ jobs: with: name: Crash-Dumps-${{env.NAME}}-${{env.BUILD_PLATFORM}}-${{env.BUILD_CONFIGURATION}} path: c:/dumps/${{env.BUILD_PLATFORM}}/${{env.BUILD_CONFIGURATION}} - retention-days: 5 + retention-days: 10 - name: Perform CodeQL Analysis if: inputs.build_codeql == true && steps.skip_check.outputs.should_skip != 'true' diff --git a/.github/workflows/reusable-test.yml b/.github/workflows/reusable-test.yml index 1f62840439..c549399fbb 100644 --- a/.github/workflows/reusable-test.yml +++ b/.github/workflows/reusable-test.yml @@ -413,7 +413,7 @@ jobs: with: name: Crash-Dumps-${{env.NAME}}-${{env.BUILD_PLATFORM}}-${{env.BUILD_CONFIGURATION}} path: ${{env.DUMP_PATH}} - retention-days: 5 + retention-days: 10 - name: Check for TestLogs # Check for test logs even if the workflow failed. @@ -432,7 +432,7 @@ jobs: with: name: Test-Logs-${{env.NAME}}-${{env.BUILD_PLATFORM}}-${{env.BUILD_CONFIGURATION}} path: ./${{env.BUILD_PLATFORM}}/${{env.BUILD_CONFIGURATION}}/TestLogs - retention-days: 5 + retention-days: 10 - name: Check for generated artifacts # Check for artifacts even if the workflow failed. @@ -451,7 +451,7 @@ jobs: with: name: Artifacts-${{env.NAME}}-${{env.BUILD_PLATFORM}}-${{env.BUILD_CONFIGURATION}} path: ${{github.workspace}}\${{env.BUILD_PLATFORM}}\${{env.BUILD_CONFIGURATION}}\Artifacts - retention-days: 5 + retention-days: 10 - name: Mark run as failed if crash dumps are found if: (steps.skip_check.outputs.should_skip != 'true') && (steps.check_dumps.outputs.files_exists == 'true') diff --git a/.github/workflows/scorecards-analysis.yml b/.github/workflows/scorecards-analysis.yml index e83f9c4b5c..524ecc7cbf 100644 --- a/.github/workflows/scorecards-analysis.yml +++ b/.github/workflows/scorecards-analysis.yml @@ -71,7 +71,7 @@ jobs: with: name: SARIF file path: results.sarif - retention-days: 5 + retention-days: 10 # Upload the results to GitHub's code scanning dashboard. - name: "Upload to code-scanning"