File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change 2727 node-version : ' 18.20.0'
2828 cache : ' yarn'
2929
30- - name : Setup Java JDK
31- uses : actions/setup-java@v4
32- with :
33- distribution : ' temurin'
34- java-version : ' 17'
35- cache : ' gradle'
36-
37- - name : Setup Android SDK
38- uses : android-actions/setup-android@v3
39- with :
40- api-level : 34
41- build-tools : 34.0.0
42-
4330 - name : Cache Node modules
4431 uses : actions/cache@v4
4532 with :
@@ -68,15 +55,28 @@ jobs:
6855 npx cap add android
6956 fi
7057
58+ - name : Setup Java JDK
59+ uses : actions/setup-java@v4
60+ with :
61+ distribution : ' temurin'
62+ java-version : ' 17'
63+
64+ - name : Setup Android SDK
65+ uses : android-actions/setup-android@v3
66+ with :
67+ api-level : 34
68+ build-tools : 34.0.0
69+
7170 - name : Cache Gradle packages
7271 uses : actions/cache@v4
72+ if : hashFiles('android/**/*.gradle*', 'android/**/gradle-wrapper.properties') != ''
7373 with :
7474 path : |
7575 ~/.gradle/caches
7676 ~/.gradle/wrapper
7777 android/.gradle
7878 android/app/.gradle
79- key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
79+ key : ${{ runner.os }}-gradle-${{ hashFiles('android/ **/*.gradle*', 'android/ **/gradle-wrapper.properties') }}
8080 restore-keys : |
8181 ${{ runner.os }}-gradle-
8282
You can’t perform that action at this time.
0 commit comments