diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bee8f654..2a2d0626 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml | |||
@@ -53,6 +53,16 @@ jobs: | |||
53 | shell: cmd | 53 | shell: cmd |
54 | run: 7z a "build\logs\test_burn_%GITHUB_RUN_ID%.zip" "%TEMP%\*.log" "%TEMP%\..\*.log" | 54 | run: 7z a "build\logs\test_burn_%GITHUB_RUN_ID%.zip" "%TEMP%\*.log" "%TEMP%\..\*.log" |
55 | 55 | ||
56 | - name: Export Application event log | ||
57 | if: always() | ||
58 | shell: cmd | ||
59 | run: wevtutil epl Application build\logs\Application.evtx /q:"Event/System/TimeCreated[timediff(@SystemTime) <= 86400000]" | ||
60 | |||
61 | - name: Export System event log | ||
62 | if: always() | ||
63 | shell: cmd | ||
64 | run: wevtutil epl System build\logs\System.evtx /q:"Event/System/TimeCreated[timediff(@SystemTime) <= 86400000]" | ||
65 | |||
56 | - name: Save logs | 66 | - name: Save logs |
57 | if: always() | 67 | if: always() |
58 | uses: actions/upload-artifact@v2 | 68 | uses: actions/upload-artifact@v2 |