Skip to content

Commit 84e00c7

Browse files
committed
caching is bad
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
1 parent e9d6a6d commit 84e00c7

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

.github/workflows/main.yml

-27
Original file line numberDiff line numberDiff line change
@@ -44,40 +44,13 @@ jobs:
4444
sudo udevadm control --reload-rules
4545
sudo udevadm trigger --name-match=kvm
4646
47-
- name: AVD cache
48-
uses: actions/cache@v4
49-
id: avd-cache
50-
with:
51-
path: |
52-
~/.android/avd/*
53-
~/.android/adb*
54-
key: avd-30
55-
56-
- name: Create directory for avd
57-
# This shouldn't be necesary but this is a work around for
58-
# https://github.com/ReactiveCircus/android-emulator-runner/issues/197
59-
if: steps.avd-cache.outputs.cache-hit != 'true'
60-
run: mkdir -p ~/.android/avd
61-
62-
- name: Create AVD and generate snapshot for caching
63-
if: steps.avd-cache.outputs.cache-hit != 'true'
64-
uses: reactivecircus/android-emulator-runner@v2
65-
with:
66-
api-level: 30
67-
force-avd-creation: false
68-
arch: x86_64
69-
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
70-
disable-animations: false
71-
script: echo "Generated AVD snapshot for caching."
72-
7347
- name: Run tests in android emulator
7448
uses: reactivecircus/android-emulator-runner@v2
7549
env:
7650
RANLIB: "${ANDROID_NDK_HOME}/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ranlib"
7751
with:
7852
api-level: 30
7953
arch: x86_64
80-
force-avd-creation: false
8154
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
8255
disable-animations: true
8356
script: |

0 commit comments

Comments
 (0)