Closed KamilKurde closed 4 months ago
May I please add a vote for getting this PR merged? It doesn't sound like there are any blockers from the conversation above. I'm facing this issue as well, and every time I want to run a workflow on my repo I have to shut down any running emulators on my Mac.
There's also an open issue https://github.com/ReactiveCircus/android-emulator-runner/issues/293 on this topic.
The problem
Currently, this action uses ADB commands without specifying device/emulator to use. This is fine for GitHub-hosted machines, as they are isolated from each other, but becomes a problem when using this action on self-hosted machine, as ADB commands will fail if there are multiple devices present, and it wasn't specified which one to use.
The fix
Adding
emulator-port
input, that allows a job to specify port to start emulator on. This way, one machine could have up to 16 emulators running at the same time (due to constraints in port range) without interfering with each other.