From 80ad712bc62228c858a14682e43d2856d82fcfea Mon Sep 17 00:00:00 2001 From: "Loren M. Lang" Date: Mon, 3 Jan 2022 00:33:05 -0800 Subject: [PATCH] Only upload test reports on failure --- .github/workflows/android.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 17246c2..0b75e23 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -81,7 +81,7 @@ jobs: with: name: Unit Test Reports path: build/reports - if: always() + if: failure() instrumentation: name: "Testing on API ${{ matrix.api-level }} for ${{ matrix.target }}" @@ -155,11 +155,11 @@ jobs: with: name: Instrument Test Reports API ${{ matrix.api-level }} ${{ matrix.target }} path: build/reports - if: always() + if: failure() - name: Save successful debug APK uses: actions/upload-artifact@v2 with: - name: debug apk + name: Debug APK path: build/outputs/apk/debug/aprsdroid-debug.apk if: matrix.api-level == 31 && matrix.target == 'google_apis'