Repository navigation
android: BUILD_RUNS_ON, in-job Android SDK, Ruby and Kotlin/Native cache for build jobs - #127
Merged
Merged
Conversation
… for build jobs Lets the build job of android-cloud-nightly-build, android-cloud-release-firebaseAppDistribution, android-cloud-release-googlePlay and the Android job of kmp-combined-nightly-build run on self-hosted runners, mirroring the RUNS_ON set that android-cloud-check got in 2.5.0. - BUILD_RUNS_ON (ANDROID_BUILD_RUNS_ON in the KMP workflow) switches only the build job; changelog and Jira jobs stay on ubuntu-latest - SETUP_RUBY, ANDROID_SDK_PACKAGES, KOTLIN_NATIVE_CACHE are forwarded to android-setup-environment; needed on the mac runners where setup-ruby cannot create its tool cache and the image has no Android SDK Defaults keep today's behaviour for every current caller. android-cloud-generate-baseline-profiles is left on ubuntu-latest on purpose: it needs a hardware-accelerated emulator. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015HbhiukLQv71hkruK31fyT
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015HbhiukLQv71hkruK31fyT
matejsemancik
approved these changes
Oct 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Lets the build job of the remaining Android workflows run on the self-hosted mac runners, mirroring the
RUNS_ONset thatandroid-cloud-checkgot in 2.5.0 (#121) plus theSETUP_RUBYswitch from #124.android-cloud-nightly-buildBUILD_RUNS_ON,SETUP_RUBY,ANDROID_SDK_PACKAGES,KOTLIN_NATIVE_CACHEbuildonlyandroid-cloud-release-firebaseAppDistributionbuildandroid-cloud-release-googlePlaybuildkmp-combined-nightly-buildANDROID_BUILD_RUNS_ON,ANDROID_SETUP_RUBY,ANDROID_SDK_PACKAGES,ANDROID_KOTLIN_NATIVE_CACHEandroid_buildonlyChangelog, cache-save and Jira jobs stay on
ubuntu-latest. All defaults keep today's behaviour for every current caller.Why
With 2.5.0 only the PR check can be offloaded to the mac runners. Nightly and release builds still run on
ubuntu-latest. The SDK / Ruby / Kotlin/Native inputs are forwarded together with the runner label becauseRUNS_ON: self-hostedalone dies inandroid-setup-environmenton the mac image (setup-rubyEACCESon/Users/runner, no Android SDK).Not included
android-cloud-generate-baseline-profilesstays onubuntu-latest. It needs a hardware-accelerated emulator, which the mac runners do not provide today.Also
CLAUDE.mdgains a "Releasing a New Version" section pointing atbump-action-refs.sh/validate-action-refs.sh, which were only documented in the README so far.Caller example (mac runners)
Checks
actionlintclean on all four workflows🤖 Generated with Claude Code
https://claude.ai/code/session_015HbhiukLQv71hkruK31fyT