Open kopax-polyconseil opened 1 year ago
There is a configuration option for that. I can confirm that taking screenshots works with:
- name: Run test
uses: reactivecircus/android-emulator-runner@50986b1464923454c95e261820bc626f38490ec0
with:
api-level: 29
channel: canary
profile: "Nexus S"
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -camera-back none
disable-animations: true
script: ./main.py >> $GITHUB_STEP_SUMMARY
With the current installation, it is not possible to take screenshots on macos-12 github action runner..
By updating to canary, it is proven that it will work: https://issuetracker.google.com/issues/259111479#comment3
Exemple: https://github.com/actions/runner-images/issues/6814#issuecomment-1419003014
How can I update the emulator to canary? I can see from issue tracker there are some file to download, how do you recommend to replicate this in ReactiveCircus/android-emulator-runner ?