@@ -49,26 +49,28 @@ jobs:
49
49
- name : Gradle cache
50
50
uses : gradle/actions/setup-gradle@d156388eb19639ec20ade50009f3d199ce1e2808 # v4.1.0
51
51
52
- - name : AVD cache
53
- uses : actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
54
- id : avd-cache
55
- with :
56
- path : |
57
- ~/.android/avd/*
58
- ~/.android/adb*
59
- key : avd-${{ matrix.api-level }}
60
-
61
- - name : Create AVD and generate snapshot for caching
62
- if : steps.avd-cache.outputs.cache-hit != 'true'
63
- uses : reactivecircus/android-emulator-runner@62dbb605bba737720e10b196cb4220d374026a6d # v2.33.0
64
- with :
65
- api-level : ${{ matrix.api-level }}
66
- force-avd-creation : false
67
- emulator-options : -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
68
- disable-animations : false
69
- arch : x86_64
70
- profile : Nexus 6
71
- script : echo "Generated AVD snapshot for caching."
52
+ # AVD cache disabled as it caused emulator termination to hang indefinitely.
53
+ # https://github.com/ReactiveCircus/android-emulator-runner/issues/385
54
+ # - name: AVD cache
55
+ # uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
56
+ # id: avd-cache
57
+ # with:
58
+ # path: |
59
+ # ~/.android/avd/*
60
+ # ~/.android/adb*
61
+ # key: avd-${{ matrix.api-level }}
62
+ #
63
+ # - name: Create AVD and generate snapshot for caching
64
+ # if: steps.avd-cache.outputs.cache-hit != 'true'
65
+ # uses: reactivecircus/android-emulator-runner@62dbb605bba737720e10b196cb4220d374026a6d # v2.33.0
66
+ # with:
67
+ # api-level: ${{ matrix.api-level }}
68
+ # force-avd-creation: false
69
+ # emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
70
+ # disable-animations: false
71
+ # arch: x86_64
72
+ # profile: Nexus 6
73
+ # script: echo "Generated AVD snapshot for caching."
72
74
73
75
- name : Run tests
74
76
uses : reactivecircus/android-emulator-runner@62dbb605bba737720e10b196cb4220d374026a6d # v2.33.0
0 commit comments