From 7f2a43f8864a0e3c1c939f40620de22d952b084c Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Wed, 2 Mar 2022 00:09:19 -0600 Subject: Export event logs to try to diagnose E2E test failures. --- .github/workflows/build.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to '.github') 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: shell: cmd run: 7z a "build\logs\test_burn_%GITHUB_RUN_ID%.zip" "%TEMP%\*.log" "%TEMP%\..\*.log" + - name: Export Application event log + if: always() + shell: cmd + run: wevtutil epl Application build\logs\Application.evtx /q:"Event/System/TimeCreated[timediff(@SystemTime) <= 86400000]" + + - name: Export System event log + if: always() + shell: cmd + run: wevtutil epl System build\logs\System.evtx /q:"Event/System/TimeCreated[timediff(@SystemTime) <= 86400000]" + - name: Save logs if: always() uses: actions/upload-artifact@v2 -- cgit v1.2.3-55-g6feb