Skip to content

Bump gradle/actions from 3.4.0 to 3.4.2 #142

Bump gradle/actions from 3.4.0 to 3.4.2

Bump gradle/actions from 3.4.0 to 3.4.2 #142

Workflow file for this run

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/actions/setup-gradle@dbbdc275be76ac10734476cc723d82dfe7ec6eda # v3.4.2
with:
validate-wrappers: true
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