Skip to content

Commit 1e6431d

Browse files
committed
- adds report upload in case of failure
1 parent 6d96e5f commit 1e6431d

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎.github/workflows/api-level-lint.yml‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,13 @@ jobs:
2525
run: chmod +x gradlew
2626
working-directory: ./android
2727
- name: Build SDK with Android project configuration
28+
id: lint
2829
run: ./gradlew --no-daemon build
2930
working-directory: ./android
31+
- name: Upload linting results
32+
if: failure() && steps.lint.outcome == 'failure'
33+
uses: actions/upload-artifact@v2
34+
with:
35+
name: lint-report
36+
path: ./android/build/reports
37+

0 commit comments

Comments
 (0)