Skip to content

Prepare release 17.2.0 (26) #42

Prepare release 17.2.0 (26)

Prepare release 17.2.0 (26) #42

Workflow file for this run

name: Android CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
name: Build and Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: gradle
- name: Gradle Info
run: ./gradlew -version
- name: Assemble Debug
run: ./gradlew assembleDebug
- name: Unit Tests
run: ./gradlew :dtareader:test
# To speed up lint check only run for release variant.
- name: Lint Release
run: ./gradlew :app:lintRelease
- uses: actions/upload-artifact@v3
if: ${{ always() }} # Also upload if lint errors.
with:
name: Lint reports
path: |
app/build/reports/lint-results-release.html