File tree 1 file changed +14
-0
lines changed
1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 41
41
- uses : actions/checkout@v1
42
42
43
43
# Sets up the NDK required by AGP 3.6.x
44
+ - name : NDK Cache
45
+ id : ndk-cache
46
+ uses : actions/cache@v2
47
+ with :
48
+ path : /usr/local/lib/android/sdk/ndk/20.0.5594570
49
+ key : ndk-cache-20.0.5594570
44
50
- name : Setup NDK
51
+ if : steps.ndk-cache.outputs.cache-hit != 'true'
45
52
run : sudo $ANDROID_HOME/tools/bin/sdkmanager 'ndk;20.0.5594570'
46
53
47
54
# Use Java 8
71
78
- uses : actions/checkout@v1
72
79
73
80
# Sets up the NDK required by AGP 3.6.x
81
+ - name : NDK Cache
82
+ id : ndk-cache
83
+ uses : actions/cache@v2
84
+ with :
85
+ path : /usr/local/lib/android/sdk/ndk/20.0.5594570
86
+ key : ndk-cache-20.0.5594570
74
87
- name : Setup NDK
88
+ if : steps.ndk-cache.outputs.cache-hit != 'true'
75
89
run : sudo $ANDROID_HOME/tools/bin/sdkmanager 'ndk;20.0.5594570'
76
90
77
91
# Patch issue in platform-tools 31.0.3 where platform-tools/api/api-versions.xml is missing (see https://issuetracker.google.com/issues/195445762)
You can’t perform that action at this time.
0 commit comments