Skip to content

Commit 367d3f0

Browse files
stefan-niedermannAndyScherzinger
authored andcommitted
#395 Disable caching for AVD
Signed-off-by: Stefan Niedermann <[email protected]> Signed-off-by: Andy Scherzinger <[email protected]>
1 parent 5c8ac70 commit 367d3f0

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

.github/workflows/e2e.yml

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -40,33 +40,33 @@ jobs:
4040
# AVD CACHING START #
4141
##########################
4242

43-
- name: Gradle cache
44-
uses: actions/cache@v2
45-
with:
46-
path: |
47-
~/.gradle/caches
48-
~/.gradle/wrapper
49-
key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}-${{ hashFiles('**/buildSrc/**/*.kt') }}
50-
51-
- name: AVD cache
52-
uses: actions/cache@v2
53-
id: avd-cache
54-
with:
55-
path: |
56-
~/.android/avd/*
57-
~/.android/adb*
58-
key: avd-${{ matrix.api-level }}
59-
60-
- name: Create AVD and generate snapshot for caching
61-
if: steps.avd-cache.outputs.cache-hit != 'true'
62-
uses: reactivecircus/android-emulator-runner@v2
63-
with:
64-
api-level: ${{ matrix.api-level }}
65-
force-avd-creation: false
66-
sdcard-path-or-size: sdcard
67-
emulator-options: -gpu swiftshader_indirect -no-window -noaudio -no-boot-anim -camera-back none
68-
disable-animations: true
69-
script: echo "Generated AVD snapshot for caching."
43+
# - name: Gradle cache
44+
# uses: actions/cache@v2
45+
# with:
46+
# path: |
47+
# ~/.gradle/caches
48+
# ~/.gradle/wrapper
49+
# key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}-${{ hashFiles('**/buildSrc/**/*.kt') }}
50+
#
51+
# - name: AVD cache
52+
# uses: actions/cache@v2
53+
# id: avd-cache
54+
# with:
55+
# path: |
56+
# ~/.android/avd/*
57+
# ~/.android/adb*
58+
# key: avd-${{ matrix.api-level }}
59+
#
60+
# - name: Create AVD and generate snapshot for caching
61+
# if: steps.avd-cache.outputs.cache-hit != 'true'
62+
# uses: reactivecircus/android-emulator-runner@v2
63+
# with:
64+
# api-level: ${{ matrix.api-level }}
65+
# force-avd-creation: false
66+
# sdcard-path-or-size: sdcard
67+
# emulator-options: -gpu swiftshader_indirect -no-window -noaudio -no-boot-anim -camera-back none
68+
# disable-animations: true
69+
# script: echo "Generated AVD snapshot for caching."
7070

7171
##########################
7272
# AVD CACHING END #

0 commit comments

Comments
 (0)