From 91d325b73a9a1484d57ebe79ffa5d2b3ec5ef2df Mon Sep 17 00:00:00 2001 From: Hamish Coleman Date: Sat, 6 Nov 2021 19:21:03 +0000 Subject: [PATCH] actions/upload-artifact@v2 with path does not take a list --- .github/workflows/cmake.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 62059aa..bd04bd9 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -72,6 +72,11 @@ jobs: uses: actions/upload-artifact@v2 with: name: tests-out - path: - - tests - - build/Testing + path: tests + + - if: ${{ failure() }} + name: Upload cmake test output + uses: actions/upload-artifact@v2 + with: + name: tests-out + path: build/Testing