From 91da3191c57a5ba65b8fd4754590fec554b2003b Mon Sep 17 00:00:00 2001 From: Alex Baker Date: Fri, 17 Mar 2023 02:34:55 -0500 Subject: [PATCH] Fix uploading reports for failed actions --- .github/workflows/lint.yml | 2 +- .github/workflows/tests.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 4143331f5..e4b1c9623 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -40,7 +40,7 @@ jobs: run: bundle exec fastlane lint - name: Archive lint reports uses: actions/upload-artifact@v3 + if: ${{ always() }} with: name: lint-reports - if: always() path: app/build/reports/*.html diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index fbcd7d362..398afb608 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -37,7 +37,7 @@ jobs: script: ./gradlew -Pcoverage app:testGoogleplayDebugUnitTest app:connectedGoogleplayDebugAndroidTest - name: Upload test reports uses: actions/upload-artifact@v3 + if: ${{ always() }} with: name: test-reports - if: always() path: app/build/reports/**