Skip to content

Commit c6ae464

Browse files
Change condition for creating failed tests playlist
1 parent c414301 commit c6ae464

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/dotnetBuild.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ jobs:
4646
run: dotnet test --no-build --configuration Release --verbosity normal --logger trx --results-directory ./TestResults
4747

4848
- name: Create Failed Tests Playlist
49-
if: always()
49+
if: failure()
5050
uses: BenjaminMichaelis/trx-to-vsplaylist@v3
5151
with:
5252
trx-file-path: './TestResults/*.trx'
5353
test-outcomes: 'Failed'
54-
artifact-name: 'failed-tests-playlist'
54+
artifact-name: 'failed-tests-playlist'

0 commit comments

Comments
 (0)