From 6fc37fe6aa2cc5a8094e5a329a8c731915169f02 Mon Sep 17 00:00:00 2001 From: Paul Colby Date: Sun, 13 Oct 2024 23:47:33 +1100 Subject: [PATCH] Upload test artifacts if they exist --- .github/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 988087751..e5140470b 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -598,7 +598,7 @@ jobs: if: matrix.toolchain != 'msvc' run: cmake --build "%RUNNER_TEMP%/coverage" --target coverage --verbose - name: Upload test results - if: matrix.arch != 'arm64' && fromJSON(steps.post-build.outputs.tap) + if: matrix.arch != 'arm64' && ( matrix.toolchain != 'msvc' || fromJSON(steps.post-build.outputs.tap) ) uses: actions/upload-artifact@v4 with: name: wip-test-results-${{ steps.post-build.outputs.dokitVersion }} # \todo Remove wip when ready.