Skip to content

Commit 5ad5646

Browse files
committed
Disable avd caching
1 parent e800fff commit 5ad5646

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

.github/workflows/main.yml

+26-26
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
api-level: 34
3636
target: aosp_atd
3737
arch: x86_64
38-
- os: ubuntu-24.04
38+
- os: ubuntu-lastest
3939
api-level: 35
4040
target: google_apis
4141
arch: x86_64
@@ -56,14 +56,14 @@ jobs:
5656
distribution: 'zulu'
5757
java-version: 23
5858

59-
- uses: actions/cache@v4
60-
id: avd-cache
61-
with:
62-
path: |
63-
~/.android/avd/*
64-
~/.android/adb*
65-
~/.android/debug.keystore
66-
key: avd-${{ matrix.api-level }}-${{ matrix.os }}-${{ matrix.target }}
59+
# - uses: actions/cache@v4
60+
# id: avd-cache
61+
# with:
62+
# path: |
63+
# ~/.android/avd/*
64+
# ~/.android/adb*
65+
# ~/.android/debug.keystore
66+
# key: avd-${{ matrix.api-level }}-${{ matrix.os }}-${{ matrix.target }}-${{ matrix.arch }}
6767

6868
- uses: gradle/actions/setup-gradle@v4
6969

@@ -78,23 +78,23 @@ jobs:
7878
sudo udevadm control --reload-rules
7979
sudo udevadm trigger --name-match=kvm
8080
81-
- name: run emulator to generate snapshot for caching
82-
if: steps.avd-cache.outputs.cache-hit != 'true'
83-
uses: ./
84-
with:
85-
api-level: ${{ matrix.api-level }}
86-
target: ${{ matrix.target }}
87-
arch: ${{ matrix.arch }}
88-
profile: Galaxy Nexus
89-
cores: 2
90-
sdcard-path-or-size: 100M
91-
avd-name: test
92-
force-avd-creation: false
93-
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
94-
disable-animations: false
95-
working-directory: ./test-fixture/
96-
channel: canary
97-
script: echo "Generated AVD snapshot for caching."
81+
# - name: run emulator to generate snapshot for caching
82+
# if: steps.avd-cache.outputs.cache-hit != 'true'
83+
# uses: ./
84+
# with:
85+
# api-level: ${{ matrix.api-level }}
86+
# target: ${{ matrix.target }}
87+
# arch: ${{ matrix.arch }}
88+
# profile: Galaxy Nexus
89+
# cores: 2
90+
# sdcard-path-or-size: 100M
91+
# avd-name: test
92+
# force-avd-creation: false
93+
# emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
94+
# disable-animations: false
95+
# working-directory: ./test-fixture/
96+
# channel: canary
97+
# script: echo "Generated AVD snapshot for caching."
9898

9999
- name: run action
100100
uses: ./

0 commit comments

Comments
 (0)