Skip to content

Commit

Permalink
Update lint-checks.yml
Browse files Browse the repository at this point in the history
Update code to upload lint report
  • Loading branch information
amitsid1408 authored Apr 23, 2024
1 parent 9cfdf9c commit 1871817
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/lint-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,13 @@ jobs:
distribution: 'adopt'
java-version: 17

- run: ./gradlew lint

- uses: yutailang0119/action-android-lint@v4
- name: Run Lint
run: ./gradlew lint
continue-on-error: false

- name: Uploading Lint Report
id: artifact-upload-step
uses: actions/upload-artifact@v4
with:
report-path: build/reports/*.xml # Support glob patterns by https://www.npmjs.com/package/@actions/glob
ignore-warnings: true # Ignore Lint Warnings
continue-on-error: false # If annotations contain error of severity, action-android-lint exit 1.
name: lint-results.apk
path: app/build/reports/lint-results-debug.html

0 comments on commit 1871817

Please sign in to comment.