forked from TeamAmaze/AmazeFileManager
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (28 loc) · 801 Bytes
/
Copy pathandroid-build.yml
File metadata and controls
30 lines (28 loc) · 801 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Android Build CI
on:
push:
branches:
- '*'
- '!master'
- '!release/*'
-
concurrency:
group: build-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: "adopt"
java-version: 11
- name: Check formatting using spotless
run: ./gradlew spotlessCheck --stacktrace | grep -vE 'Transform|Build cache is disabled|history is available.'
- name: Build with Gradle
run: |
./gradlew assembledebug --stacktrace | grep -vE 'Transform|Build cache is disabled|history is available.'
env:
TZ: UTC