Commit 792f0af 1 parent dd0613d commit 792f0af Copy full SHA for 792f0af
File tree 1 file changed +12
-24
lines changed
1 file changed +12
-24
lines changed Original file line number Diff line number Diff line change 10
10
11
11
jobs :
12
12
build :
13
- runs-on : ubuntu -latest
13
+ runs-on : macos -latest
14
14
15
15
steps :
16
16
- name : Checkout code
17
17
uses : actions/checkout@v4
18
18
19
- - name : Set up JDK 11
19
+ - name : Set up JDK
20
20
uses : actions/setup-java@v4
21
21
with :
22
- distribution : ' zulu '
23
- java-version : ' 17 '
22
+ distribution : ' temurin '
23
+ java-version : ' 21 '
24
24
25
- - name : Cache Gradle packages
26
- uses : actions/cache@v3
27
- with :
28
- path : |
29
- ~/.gradle/caches
30
- ~/.gradle/wrapper
31
- key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
32
- restore-keys : |
33
- ${{ runner.os }}-gradle-
25
+ - name : Setup Gradle
26
+ uses : gradle/actions/setup-gradle@v3
34
27
35
- - name : Set up Android SDK
36
- uses : android-actions/setup-android @v2
28
+ - name : Run connected tests
29
+ uses : ReactiveCircus/ android-emulator-runner @v2
37
30
with :
38
- api-level : 31
39
- build-tools-version : 31.0.0
40
- components : platform-tools
41
-
42
- - name : Build with Gradle
43
- run : chmod +x gradlew && ./gradlew build
44
-
45
- - name : Run tests
46
- run : ./gradlew test
31
+ api-level : 30
32
+ target : google_apis
33
+ arch : x86_64
34
+ script : ./gradlew connectedCheck
You can’t perform that action at this time.
0 commit comments