Temporary log Windows system and app event logs

Diagnostics for https://github.com/actions/runner-images/issues/7007
This commit is contained in:
Dominion
2023-05-18 07:51:35 -04:00
parent 39692bec2c
commit bb695b0308
+12
View File
@@ -354,6 +354,18 @@ jobs:
Start-Sleep -Seconds 10
dotnet test -c ${{ matrix.configuration }} --no-build --filter FullyQualifiedName~TestLiveServer --logger GitHubActions --collect:"XPlat Code Coverage" --settings ../../build/coverlet.runsettings --results-directory ../../TestResults
- name: get logs system
if: always()
run: |
Get-EventLog -LogName System | Format-List
shell: powershell
- name: get logs application
if: always()
run: |
Get-EventLog -LogName Application | Format-List
shell: powershell
- name: Store Code Coverage
uses: actions/upload-artifact@v3
with: