File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Unit test
22
3- on :
3+ on :
44 push :
5- branches :
6- - master
5+ branches :
6+ - main
77
88jobs :
99 unit_test :
1010 runs-on : ubuntu-latest
1111 steps :
12- - name : Checkout
13- uses : actions/checkout@v2.0.0
12+ - uses : actions/checkout@v2
1413
15- - name : Gradle dist Cache
16- uses : actions/cache@v1.1.2
14+ - uses : actions/cache@v2
1715 with :
18- path : ~/.gradle/wrapper
19- key : ${{ runner.os }}-dist-gradle-${{ hashFiles('**/gradle-wrapper.properties') }}
20- - name : Gradle dependencies Cache
21- uses : actions/cache@v1.1.2
22- with :
23- path : ~/.gradle/caches
24- key : ${{ runner.os }}-v1-gradle-${{ hashFiles('**/build.gradle') }}
16+ path : |
17+ ~/.gradle/caches
18+ ~/.gradle/wrapper
19+ key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
2520 restore-keys : |
26- ${{ runner.os }}-v1- gradle-
27- - name : Download Dependencies
21+ ${{ runner.os }}-gradle-
22+ - name : Download dependencies
2823 run : |
2924 ./gradlew androidDependencies --no-daemon
3025
3126 - name : Run unit test
3227 run : |
33- ./gradlew studyplus-android-sdk:test --no-daemon
28+ ./gradlew studyplus-android-sdk:test --no-daemon
You can’t perform that action at this time.
0 commit comments