Correct the rationale comment on explicit SDK install
The original setup-android failure was simply a missing unzip on the runner, not the action assuming a hosted image as the comment claimed. Keeping the explicit install for pinned SDK versions, but stating the actual reason. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
fd64fb9a30
commit
3f05297066
2 files changed
+5
-4
No files matched your search
@@ -18,8 +18,9 @@ jobs:
|
||||
distribution: temurin
|
||||
java-version: '17'
|
||||
|
||||
# Installed explicitly rather than via android-actions/setup-android,
|
||||
# which assumes a GitHub-hosted image with the SDK already present.
|
||||
# Installed explicitly rather than via android-actions/setup-android
|
||||
# so the SDK package versions are pinned to match compileSdk 35 /
|
||||
# build-tools 35.0.0, instead of whatever the action defaults to.
|
||||
# Persists in $HOME on this self-hosted runner, so it's a one-time cost.
|
||||
- name: Set up Android SDK
|
||||
run: |
|
||||
|
||||
@@ -17,8 +17,8 @@ jobs:
|
||||
distribution: temurin
|
||||
java-version: '17'
|
||||
|
||||
# See ci.yml — installed explicitly rather than via
|
||||
# android-actions/setup-android, which assumes a GitHub-hosted image.
|
||||
# See ci.yml — installed explicitly so SDK package versions stay
|
||||
# pinned to match the build config.
|
||||
- name: Set up Android SDK
|
||||
run: |
|
||||
set -eu
|
||||
|
||||
Reference in new issue
Block a user