@@ -159,7 +159,7 @@ jobs:
159
159
160
160
- name : Run experiment tests against ${{ env.TEST_PLATFORM }}
161
161
id : test-platform
162
- run : vstest.console.exe ./tooling/**/CommunityToolkit.Tests.${{ env.TEST_PLATFORM }}.build.appxrecipe /Framework:FrameworkUap10 /logger:"trx;LogFileName=${{ env.TEST_PLATFORM }}.trx"
162
+ run : vstest.console.exe ./tooling/**/CommunityToolkit.Tests.${{ env.TEST_PLATFORM }}.build.appxrecipe /Framework:FrameworkUap10 /logger:"trx;LogFileName=${{ env.TEST_PLATFORM }}.trx" /Blame
163
163
164
164
- name : Create test reports
165
165
run : |
@@ -182,26 +182,24 @@ jobs:
182
182
183
183
# https://github.com/dorny/paths-filter#custom-processing-of-changed-files
184
184
- name : Detect If any Dump Files
185
-
186
- id : filter
187
- with :
188
- list-files : shell
189
- filters : |
190
- dump:
191
- - added: '${{ github.workspace }}/CrashDumps/*.dmp'
185
+ id : detect-dump
186
+ if : always()
187
+ working-directory : ${{ github.workspace }}
188
+ run : |
189
+ echo "DUMP_FILE=$(Get-ChildItem .\CrashDumps\*.dmp -ErrorAction SilentlyContinue)" >> $env:GITHUB_OUTPUT
192
190
193
191
- name : Artifact - WER crash dumps
194
192
uses : actions/upload-artifact@v3
195
- if : ${{ steps.filter.outputs.dump == 'true' && (env.ENABLE_DIAGNOSTICS == 'true' || env.COREHOST_TRACE != '') && always() }}
193
+ if : ${{ (env.ENABLE_DIAGNOSTICS == 'true' || env.COREHOST_TRACE != '') && always() }}
196
194
with :
197
195
name : CrashDumps-${{ matrix.platform }}
198
196
path : ' ${{ github.workspace }}/CrashDumps'
199
197
200
198
- name : Analyze Dump
201
- if : ${{ steps.filter .outputs.dump == 'true ' && (env.ENABLE_DIAGNOSTICS == 'true' || env.COREHOST_TRACE != '') && always() }}
199
+ if : ${{ steps.detect-dump .outputs.DUMP_FILE != ' ' && (env.ENABLE_DIAGNOSTICS == 'true' || env.COREHOST_TRACE != '') && always() }}
202
200
run : |
203
201
dotnet tool install --global dotnet-dump
204
- dotnet-dump analyze ${{ steps.filter .outputs.dump_files }} -c "clrstack" -c "pe -lines" -c "exit"
202
+ dotnet-dump analyze ${{ steps.detect-dump .outputs.DUMP_FILE }} -c "clrstack" -c "pe -lines" -c "exit"
205
203
206
204
wasm-linux :
207
205
runs-on : ubuntu-latest
0 commit comments