Fix uploading reports for failed actions

pull/2206/head
Alex Baker 3 years ago
parent 2bc906868d
commit 91da3191c5

@ -40,7 +40,7 @@ jobs:
run: bundle exec fastlane lint run: bundle exec fastlane lint
- name: Archive lint reports - name: Archive lint reports
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
if: ${{ always() }}
with: with:
name: lint-reports name: lint-reports
if: always()
path: app/build/reports/*.html path: app/build/reports/*.html

@ -37,7 +37,7 @@ jobs:
script: ./gradlew -Pcoverage app:testGoogleplayDebugUnitTest app:connectedGoogleplayDebugAndroidTest script: ./gradlew -Pcoverage app:testGoogleplayDebugUnitTest app:connectedGoogleplayDebugAndroidTest
- name: Upload test reports - name: Upload test reports
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
if: ${{ always() }}
with: with:
name: test-reports name: test-reports
if: always()
path: app/build/reports/** path: app/build/reports/**

Loading…
Cancel
Save