Skip to content

Commit ce7dc0a

Browse files
xaionaro@dx.centerxaionaro@dx.center
authored andcommitted
Fix E2E SDK install: use sdkmanager directly instead of setup-android action
The android-actions/setup-android@v3 action treated the multiline packages input as a single package name. Use direct sdkmanager calls.
1 parent fa8a56d commit ce7dc0a

1 file changed

Lines changed: 6 additions & 10 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -73,17 +73,13 @@ jobs:
7373
sudo udevadm control --reload-rules
7474
sudo udevadm trigger --name-match=kvm
7575
76-
- name: Install Android SDK components
77-
uses: android-actions/setup-android@v3
78-
with:
79-
packages: |
80-
platform-tools
81-
emulator
82-
system-images;android-35;google_apis;x86_64
83-
platforms;android-35
84-
85-
- name: Install Android NDK
76+
- name: Install Android SDK components and NDK
8677
run: |
78+
yes | sdkmanager --install \
79+
"platform-tools" \
80+
"emulator" \
81+
"system-images;android-35;google_apis;x86_64" \
82+
"platforms;android-35" || true
8783
wget -q "https://dl.google.com/android/repository/android-ndk-${ANDROID_NDK_VERSION}-linux.zip" -O /tmp/ndk.zip
8884
unzip -q /tmp/ndk.zip -d /tmp/ndk-extract/
8985
mkdir -p "$ANDROID_HOME/ndk"

0 commit comments

Comments
 (0)