Skip to content

Commit 5484c55

Browse files
Always publish logs and test results
Always try to publish build logs and test results, even if the build itself fails.
1 parent 656b900 commit 5484c55

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ jobs:
6060

6161
- name: Publish logs
6262
uses: actions/upload-artifact@v1
63+
if: ${{ always() }}
6364
with:
6465
name: logs-${{ matrix.os_name }}
6566
path: ./artifacts/log/Release
@@ -72,6 +73,7 @@ jobs:
7273

7374
- name: Publish test results
7475
uses: actions/upload-artifact@v1
76+
if: ${{ always() }}
7577
with:
7678
name: testresults-${{ matrix.os_name }}
7779
path: ./artifacts/TestResults/Release

0 commit comments

Comments
 (0)