Bump gradle/actions from ecf84edd453bac1e6f886ac7fde436af0ae4facb to 2e02e6624eeb518d70793432515dc0a264f28dcc #120
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Android CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
name: Build & Tests & Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- uses: gradle/wrapper-validation-action@b231772637bb498f11fdbc86052b6e8a8dc9fc92 # v2.1.2 | |
- uses: gradle/actions/setup-gradle@2e02e6624eeb518d70793432515dc0a264f28dcc # v3.2.0 | |
with: | |
gradle-home-cache-cleanup: true | |
- run: ./gradlew assembleDebug test lint --stacktrace | |
- name: Upload APK | |
uses: actions/upload-artifact@v4 | |
with: | |
name: app-debug.apk | |
path: app/build/outputs/apk/debug/app-debug.apk | |
- name: Upload UnitTest reports | |
uses: actions/upload-artifact@v4 | |
with: | |
name: unit-tests-reports | |
path: | | |
**/reports/tests/test*UnitTest/ | |
**/build/test-results/Test-*.xml | |
- name: Upload Lint reports | |
uses: actions/upload-artifact@v4 | |
with: | |
name: lint-reports | |
path: | | |
**/reports/lint-results-*.xml | |
**/reports/lint-results-*.html |