diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2022-03-02 00:09:19 -0600 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2022-03-02 11:20:49 -0600 |
commit | 7f2a43f8864a0e3c1c939f40620de22d952b084c (patch) | |
tree | 13707f95d7bdee0ea10e7701a5ba38f158fc4bc8 /.github | |
parent | 89c476396d7ad6ab7c596300ec082dd9c38b9121 (diff) | |
download | wix-7f2a43f8864a0e3c1c939f40620de22d952b084c.tar.gz wix-7f2a43f8864a0e3c1c939f40620de22d952b084c.tar.bz2 wix-7f2a43f8864a0e3c1c939f40620de22d952b084c.zip |
Export event logs to try to diagnose E2E test failures.
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 |