1010 - created
1111 schedule :
1212 # Every Monday at 00:30 UTC
13- - cron : ' 30 0 * * 1'
13+ - cron : " 30 0 * * 1"
1414
1515env :
16- JAVA_VERSION : ' 21 '
17- JAVA_DISTRIBUTION : ' microsoft'
16+ JAVA_VERSION : " 21 "
17+ JAVA_DISTRIBUTION : " microsoft"
1818
1919jobs :
2020 test :
@@ -94,10 +94,11 @@ jobs:
9494 strategy :
9595 fail-fast : false
9696 matrix :
97- emulator : [
98- { api-level: 23, target: google_apis },
99- { api-level: 34, target: playstore }
100- ]
97+ emulator :
98+ [
99+ { api-level: 23, target: google_apis },
100+ { api-level: 34, target: playstore },
101+ ]
101102 steps :
102103 - name : checkout
103104 uses : actions/checkout@v4
@@ -123,11 +124,12 @@ jobs:
123124 target : ${{ matrix.emulator.target }}
124125 script : ./gradlew connectedCheck
125126 arch : x86_64
126- profile : ' Nexus 5'
127-
127+ profile : " pixel_7_pro"
128+ emulator-options : -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
129+ disable-animations : true
128130
129131 deploy-gh-releases :
130- needs : [ build, javadoc, android-test ]
132+ needs : [build, javadoc, android-test]
131133 permissions :
132134 contents : write
133135 if : github.event_name == 'release' && github.event.action == 'created'
@@ -159,7 +161,7 @@ jobs:
159161 folder : javadoc
160162
161163 deploy-maven-central :
162- needs : [ build, javadoc, android-test ]
164+ needs : [build, javadoc, android-test]
163165 if : github.event_name == 'release' && github.event.action == 'created'
164166 runs-on : ubuntu-latest
165167 env :
@@ -177,4 +179,4 @@ jobs:
177179 java-version : ${{ env.JAVA_VERSION }}
178180 distribution : ${{ env.JAVA_DISTRIBUTION }}
179181 - name : Publish to Maven Central
180- run : ./gradlew publishAggregationToCentralPortal
182+ run : ./gradlew publishAggregationToCentralPortal
0 commit comments