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

Restoring Cache failed during flutter install #39

Open
Anceos opened this issue Jan 31, 2024 · 0 comments
Open

Restoring Cache failed during flutter install #39

Anceos opened this issue Jan 31, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Anceos
Copy link

Anceos commented Jan 31, 2024

Orb version: 2.0.0/2.0.1/2.0.2

What happened:

Step Restoring Cache failed

error computing cache key: template: cacheKey:1:9: executing "cacheKey" at <checksum "./pubspec.lock">: error calling checksum: open /home/circleci/project/pubspec.lock: no such file or directory

then

Step Install dependecies

#!/bin/bash -eo pipefail
flutter pub get

Expected to find project root in current working directory.

Exited with code exit status 1

CircleCI received exit code 1

Expected behavior:

I should be able to finish installation

Additional Information:

version: '2.1'
orbs:
  flutter: circleci/[email protected]
  android: circleci/[email protected]


jobs:
  install_for_android_machine:
    executor:
      name: android/android-machine
    steps:
      - flutter/install_sdk_and_pub:
          version: 3.7.6
      - flutter/install_android_gradle_dependencies
      - flutter/install_android_gem
      - run:
          command: bundle exec fastlane distribute
          working_directory: android
workflows:
  version: 2
  build_and_test_workflow:
    jobs:
      - install_for_android_machine
@Anceos Anceos added the bug Something isn't working label Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant