Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Cache not found for input keys: avd-29" #310

Open
kirillzh opened this issue Feb 6, 2023 · 4 comments
Open

"Cache not found for input keys: avd-29" #310

kirillzh opened this issue Feb 6, 2023 · 4 comments

Comments

@kirillzh
Copy link

kirillzh commented Feb 6, 2023

AVD caching does not seem to work, getting Cache not found for input keys: avd-29 log and seeing AVD being recreated on each run. Workflow setup:

- name: AVD cache
  uses: actions/cache@v3
  id: avd-cache
  with:
    path: |
      ~/.android/avd/*
      ~/.android/adb*
    key: avd-29

- name: create AVD and generate snapshot for caching
  if: steps.avd-cache.outputs.cache-hit != 'true'
  uses: reactivecircus/android-emulator-runner@v2
  with:
    api-level: 29
    force-avd-creation: false
    emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
    disable-animations: false
    script: echo "Generated AVD snapshot for caching."

- name: instrumented tests
  uses: reactivecircus/android-emulator-runner@v2
  with:
    api-level: 29
    working-directory: ./app
    force-avd-creation: false
    emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
    disable-animations: true
    target: google_apis
    script: bin/gradle connectedCheck
@kikin81
Copy link

kikin81 commented Feb 10, 2023

I am having the same issue as well

@ipopov-belkacar
Copy link

See the same, avd cache is not working

@OscarCreator
Copy link

Did your job succeeded? Because it seems like the cache is only saved if a job is successful.

@WasifIsrar
Copy link

@OscarCreator Thats not the case. My Job succeeded but cache not found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants