File tree Expand file tree Collapse file tree 2 files changed +16
-17
lines changed
Expand file tree Collapse file tree 2 files changed +16
-17
lines changed Original file line number Diff line number Diff line change @@ -20,22 +20,21 @@ jobs:
2020
2121 runs-on : macos-latest # necessary for reactivecircus/android-emulator-runner@v2
2222
23- steps :
24- - uses : actions/checkout@v2
25- - name : set up JDK 11
26- uses : actions/setup-java@v2
27- with :
28- java-version : 11.0.10
29- distribution : ' adopt'
30- cache : gradle
31-
23+ steps :
3224 - name : Checkout submodules
3325 uses : actions/checkout@v2
3426 with :
3527 fetch-depth : 2
3628 submodules : recursive
3729 token : ${{ secrets.ACCESS_TOKEN }}
3830 persist-credentials : false
31+
32+ - name : set up JDK 11
33+ uses : actions/setup-java@v2
34+ with :
35+ java-version : 11.0.10
36+ distribution : ' adopt'
37+ cache : gradle
3938
4039 - name : Grant execute permission for gradlew
4140 run : chmod +x gradlew
4645 api-level : 30
4746 arch : x86_64
4847 script : ./gradlew assembleDebug && ./gradlew test --info && ./gradlew connectedCheck
48+
4949 - name : Code coverage
5050 run : bash <(curl -s https://codecov.io/bash)
Original file line number Diff line number Diff line change @@ -17,21 +17,20 @@ jobs:
1717 runs-on : ubuntu-latest
1818
1919 steps :
20- - uses : actions/checkout@v2
21- - name : set up JDK 11
22- uses : actions/setup-java@v2
23- with :
24- java-version : 11.0.10
25- distribution : ' adopt'
26- cache : gradle
27-
2820 - name : Checkout submodules
2921 uses : actions/checkout@v2
3022 with :
3123 fetch-depth : 2
3224 submodules : recursive
3325 token : ${{ secrets.ACCESS_TOKEN }}
3426 persist-credentials : false
27+
28+ - name : set up JDK 11
29+ uses : actions/setup-java@v2
30+ with :
31+ java-version : 11.0.10
32+ distribution : ' adopt'
33+ cache : gradle
3534
3635 - name : Add Maven credentials to gradle.properties
3736 run : echo "NEXUS_USERNAME=${{ secrets.NEXUS_USERNAME }}" >> gradle.properties && echo "NEXUS_PASSWORD=${{ secrets.NEXUS_PASSWORD }}" >> gradle.properties
You can’t perform that action at this time.
0 commit comments