From 2fb3a47bc97e7070bbb7989aa16f5b73a0670578 Mon Sep 17 00:00:00 2001 From: Steve Kirbach Date: Fri, 7 Jun 2024 14:54:37 -0700 Subject: [PATCH] upload swiftwinrt log on failure (#170) --- .github/actions/windows-build/action.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/actions/windows-build/action.yml b/.github/actions/windows-build/action.yml index 69497b92..dbbb2181 100644 --- a/.github/actions/windows-build/action.yml +++ b/.github/actions/windows-build/action.yml @@ -41,7 +41,14 @@ runs: # git diff # throw "Checked in files are not up-to-date, re-run swiftwinrt before checking-in: \n$dirty" # } - + + - name: Upload swiftwinrt logs on failure + uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 + if: failure() + with: + name: swiftwinrt-log + path: ${{ github.workspace }}\tests\test_component\swiftwinrt.log + - name: Run test app shell: cmd run: .\out\${{ inputs.config }}\bin\test_app.exe