From fb524e744f5e560b1f084584e6d0af80b01e6608 Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Fri, 14 Feb 2020 18:39:40 -0800 Subject: [PATCH] limit artifact uploads to failing builds only --- .github/workflows/tests.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9fff60fee2..9c45d21186 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -31,6 +31,7 @@ jobs: env: DEBUG: "*" - uses: actions/upload-artifact@v1 + if: failure() with: name: chromium-linux-testrun.log path: chromium-linux-testrun.log @@ -48,6 +49,7 @@ jobs: env: DEBUG: "*" - uses: actions/upload-artifact@v1 + if: failure() with: name: chromium-mac-testrun.log path: chromium-mac-testrun.log @@ -66,6 +68,7 @@ jobs: env: DEBUG: "*" - uses: actions/upload-artifact@v1 + if: failure() with: name: chromium-win-testrun.log path: chromium-win-testrun.log @@ -90,6 +93,7 @@ jobs: env: DEBUG: "*,-pw:wrapped*" - uses: actions/upload-artifact@v1 + if: failure() with: name: webkit-linux-testrun.log path: webkit-linux-testrun.log @@ -107,6 +111,7 @@ jobs: env: DEBUG: "*,-pw:wrapped*" - uses: actions/upload-artifact@v1 + if: failure() with: name: webkit-mac-testrun.log path: webkit-mac-testrun.log @@ -125,6 +130,7 @@ jobs: env: DEBUG: "*,-pw:wrapped*" - uses: actions/upload-artifact@v1 + if: failure() with: name: webkit-win-testrun.log path: webkit-win-testrun.log @@ -148,6 +154,7 @@ jobs: env: DEBUG: "*" - uses: actions/upload-artifact@v1 + if: failure() with: name: firefox-linux-testrun.log path: firefox-linux-testrun.log @@ -165,6 +172,7 @@ jobs: env: DEBUG: "*" - uses: actions/upload-artifact@v1 + if: failure() with: name: firefox-mac-testrun.log path: firefox-mac-testrun.log @@ -183,6 +191,7 @@ jobs: env: DEBUG: "*" - uses: actions/upload-artifact@v1 + if: failure() with: name: firefox-win-testrun.log path: firefox-win-testrun.log