From a483d2dc2223b284f6d489abc4174a39ee759136 Mon Sep 17 00:00:00 2001 From: Anton B Date: Thu, 7 Sep 2023 11:55:03 -0300 Subject: [PATCH] ci: upload files when there's a failure --- .github/workflows/automated-tests.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/automated-tests.yml b/.github/workflows/automated-tests.yml index ed0bc149f2ea..ad6a1c8edcd1 100644 --- a/.github/workflows/automated-tests.yml +++ b/.github/workflows/automated-tests.yml @@ -109,6 +109,11 @@ jobs: mkdir -p ./pr-comment-data echo "build-package" > ./pr-comment-data/failure-reason echo ${{ matrix.package }} >> ./pr-comment-data/failed-builds + - if: failure() + uses: actions/upload-artifact@v3 + with: + name: pr-comment-data + path: pr-comment-data install-and-run-tests: needs: build-package runs-on: ubuntu-22.04