From 2172d4f7cc22aa7a79889945ad2baf418f483b27 Mon Sep 17 00:00:00 2001 From: mmcky Date: Tue, 22 Mar 2022 10:38:39 +1100 Subject: [PATCH] Update cache workflow to upload execution reports if failure --- .github/workflows/cache.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cache.yml b/.github/workflows/cache.yml index 2086d37c2..f25cb68be 100644 --- a/.github/workflows/cache.yml +++ b/.github/workflows/cache.yml @@ -35,8 +35,15 @@ jobs: shell: bash -l {0} run: | jb build lectures --path-output ./ -W --keep-going + - name: Upload Execution Reports + uses: actions/upload-artifact@v2 + if: failure() + with: + name: execution-reports + path: _build/html/reports - name: Upload "_build" folder (cache) uses: actions/upload-artifact@v2 with: name: build-cache - path: _build \ No newline at end of file + path: _build + \ No newline at end of file