Skip to content

Merge pull request #591 from cvzi/renovate/agp #3522

Merge pull request #591 from cvzi/renovate/agp

Merge pull request #591 from cvzi/renovate/agp #3522

Workflow file for this run

name: πŸ”¨ Gradle Build
on:
push:
paths-ignore:
- 'docs/**'
- 'fastlane/**'
- '*.md'
pull_request:
branches:
- main
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Add exec permission
run: chmod +x gradlew
- name: Validate Gradle Wrapper
uses: gradle/actions/wrapper-validation@v4
- name: πŸ”¨ Build
run: ./gradlew build
- name: Upload .apk files
uses: actions/upload-artifact@v4
with:
name: apk-files
path: app/build/outputs/apk/**/*.apk
- name: πŸ’¬ Upload Lint report
if: always()
uses: actions/upload-artifact@v4
with:
name: lint-results.html
path: app/build/reports/lint-results*.html
- name: πŸ’¬ Upload tests report
if: always()
uses: actions/upload-artifact@v4
with:
name: reports-tests
path: app/build/reports/tests/