-
Notifications
You must be signed in to change notification settings - Fork 536
45 lines (35 loc) · 1 KB
/
connected-check.yml
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Connected Check
on:
push:
branches:
- '*'
pull_request:
branches:
- master
jobs:
run-connected-checks:
# put [skip ci] into the commit message if you don't want to run this workflow
runs-on: macos-latest
timeout-minutes: 15
steps:
- name: Cancel previous runs
uses: styfle/cancel-workflow-action@0.12.1
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: adopt
java-version: 17
- name: Set up build properties
run: |
echo 'licenceKey=""' > local.properties
echo 'android.useAndroidX=true' >> gradle.properties
echo 'android.enableJetifier=true' >> gradle.properties
- name: Run connectedCheck
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 31
target: google_apis
arch: x86_64
script: ./gradlew connectedCheck