Skip to content

Commit

Permalink
update log retension time to 10 days (#3837)
Browse files Browse the repository at this point in the history
  • Loading branch information
saxena-anurag authored Sep 17, 2024
1 parent a41953d commit fda1083
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/reusable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/reusable-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
Expand All @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scorecards-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit fda1083

Please sign in to comment.