Skip to content

Commit 26a5c02

Browse files
authored
Merge pull request #195 from gradle/dd/ci-cache-ndk
Cache NDK directory in GitHub workflow
2 parents e804b44 + 3ba32fc commit 26a5c02

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

.github/workflows/ci-check.yml

-8
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,6 @@ jobs:
4040
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
4141
- uses: actions/checkout@v1
4242

43-
# Sets up the NDK required by AGP 3.6.x
44-
- name: Setup NDK
45-
run: sudo $ANDROID_HOME/tools/bin/sdkmanager 'ndk;20.0.5594570'
46-
4743
# Use Java 8
4844
- uses: actions/setup-java@v1
4945
with:
@@ -70,10 +66,6 @@ jobs:
7066
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
7167
- uses: actions/checkout@v1
7268

73-
# Sets up the NDK required by AGP 3.6.x
74-
- name: Setup NDK
75-
run: sudo $ANDROID_HOME/tools/bin/sdkmanager 'ndk;20.0.5594570'
76-
7769
# Patch issue in platform-tools 31.0.3 where platform-tools/api/api-versions.xml is missing (see https://issuetracker.google.com/issues/195445762)
7870
- name: Patch api-versions
7971
run: sudo test -f $ANDROID_HOME/platform-tools/api/api-versions.xml || (sudo mkdir $ANDROID_HOME/platform-tools/api && sudo cp .github/api-versions.xml $ANDROID_HOME/platform-tools/api/api-versions.xml)

0 commit comments

Comments
 (0)