On my github action, it logged the following:
The full lint text report is located at:
/home/runner/work/honk/honk/app/build/intermediates/lint_intermediate_text_report/debug/lint-results-debug.txt
honk
is the name of my repo, but where do I find the lint-results-debug.txt
file?
This is how my android.yml
file is configured:
name: Android CI
on: [ pull_request ]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.11
uses: actions/setup-java@v1
with:
java-version: 1.11
- name: Change wrapper permissions
run: chmod +x ./gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Run tests
run: ./gradlew test
- name: Upload app to AppSweep with Gradle
env:
APPSWEEP_API_KEY: ${{ secrets.APPSWEEP_API_KEY }}
run: ./gradlew uploadToAppSweepRelease
2
Answers
The Github Doc
Using workflow run logs
, says the following aboutfinding/downloading
logs created byworkflows
:You can follow the rest of the steps to find and download your desired files.
As far as I know it gets discarded, they don’t save any logs, if you don’t save them intentionally.
You can do that with this action. Notice the Upload Lint Report
Though if you are just looking for the report, because of failed, you should get that in the console output with searching Failed.