From 349eb29df9575329804f6c77880712da6511f53f Mon Sep 17 00:00:00 2001 From: legobt <6wbvkn0j@anonaddy.me> Date: Sat, 14 Sep 2024 04:11:23 +0000 Subject: [PATCH] node-runner-android: split sdkmanager installs to avoid full disk on GHA ci --- imags/node-runner/Containerfile.android | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/imags/node-runner/Containerfile.android b/imags/node-runner/Containerfile.android index af1c81d1..f29ae96f 100644 --- a/imags/node-runner/Containerfile.android +++ b/imags/node-runner/Containerfile.android @@ -35,12 +35,19 @@ RUN sdkmanager --install \ "build-tools;30.0.3" \ "build-tools;33.0.0" \ "build-tools;${ANDROID_BUILD_TOOLS_VERSION}" \ - "cmake;${CMAKE_VERSION}" \ - #"platform-tools" \ - ## metamask-mobile legacy dep \ + "cmake;${CMAKE_VERSION}" + ##"platform-tools" \ + ### metamask-mobile legacy dep \ + #"platforms;android-33" \ + #"platforms;android-${ANDROID_SDK_VERSION}" \ + ##"sources;android-${ANDROID_SDK_VERSION}" \ + #"ndk;${ANDROID_NDK_VERSION}" + +RUN sdkmanager --install \ "platforms;android-33" \ - "platforms;android-${ANDROID_SDK_VERSION}" \ - #"sources;android-${ANDROID_SDK_VERSION}" \ + "platforms;android-${ANDROID_SDK_VERSION}" + +RUN sdkmanager --install \ "ndk;${ANDROID_NDK_VERSION}" ENV ANDROID_AVD_HOME=/home/user/.config/.android/avd