Skip to content

triggerDoNotDisturb #788

triggerDoNotDisturb

triggerDoNotDisturb #788

Workflow file for this run

name: Android CI
on:
workflow_dispatch:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Gradle Wrapper Validation
uses: gradle/wrapper-validation-action@v1.0.4
- name: Make gradlew executable
run: chmod +x ./gradlew
- uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Build with Gradle
run: ./gradlew build
- name: Build with Gradle (Unit tests)
run: ./gradlew testRelease
- name: Build with Gradle (lintVitalRelease)
run: ./gradlew lintVitalRelease
- name: Upload artifacts (debug apk)
uses: actions/upload-artifact@v3.0.0
with:
name: app
path: app/build/outputs/apk/debug/app-debug.apk
- name: Upload artifacts (lint results)
uses: actions/upload-artifact@v3.0.0
with:
name: lint-results.html
path: app/build/reports/lint-results.html