You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How this action be compitable with gradle/gradle-build-action #229
The emulator process is only available when the action is running, so you have to run your tests in the script block.
You can try to add uses: gradle/gradle-build-action@v2 without any arguments before reactivecircus/android-emulator-runner@v2.
If no arguments are provided, the action will not execute Gradle, but will still cache Gradle state and configure build-scan capture for all subsequent Gradle executions.
Activity
ychescale9 commentedon Mar 1, 2022
The emulator process is only available when the action is running, so you have to run your tests in the
scriptblock.You can try to add
uses: gradle/gradle-build-action@v2without any arguments beforereactivecircus/android-emulator-runner@v2.Goooler commentedon Mar 1, 2022
I've also cached the AVD as your recommendation in README, change the config to below can make AVD cache work?
Goooler commentedon Mar 1, 2022
Seems it's not the workable path of Gradle, may need to still use
actions/cache?ychescale9 commentedon Mar 1, 2022
Yes you still need to use gradle/cache to cache avd.
gradle-build-actiondoesn't know anything about avd.Goooler commentedon Mar 1, 2022
Thanks,
gradle-build-actionis really so fast! Should we note this issue in README?ychescale9 commentedon Mar 1, 2022
Yeah we can update the 3rd snippet. Feel free to send a pr:)