From 96df1493bc41bc604058e56441ac3f69bfd067af Mon Sep 17 00:00:00 2001 From: Joachim Van Herwegen Date: Mon, 7 Feb 2022 09:12:55 +0100 Subject: [PATCH] chore: Always save CTH output --- .github/workflows/schedule.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/schedule.yml b/.github/workflows/schedule.yml index 988b97818..f5aa0fe9e 100644 --- a/.github/workflows/schedule.yml +++ b/.github/workflows/schedule.yml @@ -47,17 +47,21 @@ jobs: solidproject/conformance-test-harness --output=/reports --target=https://github.com/solid/conformance-test-harness/css + # Steps below use `always()` to make sure logs get uploaded in case the CTH errors - name: Sanitize branch name for artifact upload id: sanitize + if: always() uses: yeouchien/sanitize-branch-name-action@v1 with: branch-name: ${{ matrix.branch }} - name: Save the reports + if: always() uses: actions/upload-artifact@v2 with: name: ${{ steps.sanitize.outputs.sanitized-branch-name }} reports path: reports - name: Save the server output + if: always() uses: actions/upload-artifact@v2 with: name: ${{ steps.sanitize.outputs.sanitized-branch-name }} server output