Skip to content

Commit 323726c

Browse files
committed
Ensure we don't use new Android SDKs which are of course broken
1 parent 26b96b6 commit 323726c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,10 @@ jobs:
268268
- uses: actions/checkout@v4
269269
with:
270270
fetch-depth: 5
271+
- uses: actions/setup-java@v4
272+
with:
273+
distribution: 'zulu'
274+
java-version: '8'
271275
- name: Install Android SDK 3859397 and NDK r14b
272276
run: |
273277
export ARCH=`uname -m`
@@ -282,6 +286,8 @@ jobs:
282286
pushd $GITHUB_WORKSPACE/tools/bin
283287
(yes 2>/dev/null | ./sdkmanager --sdk_root=$GITHUB_WORKSPACE "build-tools;26.0.1" "platforms;android-23") || echo
284288
popd
289+
290+
sudo rm -rf /usr/local/lib/android
285291
- name: Build
286292
run: |
287293
mkdir build-android-arm32

0 commit comments

Comments
 (0)