From 1bbc48c6b919be15fca95c9ffee6dedb152eec37 Mon Sep 17 00:00:00 2001 From: Thomas von Deyen Date: Tue, 22 Oct 2019 17:11:25 +0200 Subject: [PATCH] Uploads build artifacts if build fails --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cacb5d0676..93093ba785 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -56,3 +56,8 @@ jobs: run: | bundle exec rspec ./cc-test-reporter after-build --exit-code $? + - uses: actions/upload-artifact@master + if: failure() + with: + name: Screenshots + path: spec/dummy/tmp/screenshots