Skip to content

Commit

Permalink
Fixed syntax errors in reg command for crash dump generation. Added a…
Browse files Browse the repository at this point in the history
…n OS check too
  • Loading branch information
gopalrs authored Dec 7, 2024
1 parent b09b099 commit 228c2f3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/dynamic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,12 @@ jobs:
fetch-depth: 1
submodules: true
- name: Configure Windows to Generate Crash Dumps
if: ${{ runner.os == 'Windows' }}
run: |
reg add HKLM\\SOFTWARE\\Microsoft\\Windows\\Windows\ Error\ Reporting\\LocalDumps //f
reg add HKLM\\SOFTWARE\\Microsoft\\Windows\\Windows\ Error\ Reporting\\LocalDumps //v DumpFolder //t REG_EXPAND_SZ //d "./dist" //f
reg add HKLM\\SOFTWARE\\Microsoft\\Windows\\Windows Error Reporting\\LocalDumps" //v DumpCount //t REG_DWORD //d 10 //f
reg add HKLM\\SOFTWARE\\Microsoft\\Windows\\Windows Error Reporting\\LocalDumps" //v DumpType //t REG_DWORD //d 2 //f
reg add HKLM\\SOFTWARE\\Microsoft\\Windows\\Windows\ Error\ Reporting\\LocalDumps" //v DumpCount //t REG_DWORD //d 10 //f
reg add HKLM\\SOFTWARE\\Microsoft\\Windows\\Windows\ Error\ Reporting\\LocalDumps" //v DumpType //t REG_DWORD //d 2 //f
- name: DiskANN Build CLI Applications
uses: ./.github/actions/build
Expand Down

0 comments on commit 228c2f3

Please sign in to comment.