We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 restore-keys options allow the cache to be restored even when they are invalidated in some cases.
For a scenario where one uses a custom cache-key that includes lock files, a restore-key would be almost always necessary.
cache-key
- name: 🐦 Setup Flutter uses: subosito/flutter-action@v2 with: flutter-version: 3.3.3 channel: stable cache: true cache-key: flutter-:os:-:channel:-:version:-:arch:-:hash:-${{ hashFiles('**/pubspec.lock') }} restore-keys: | flutter-:os:-:channel:-:version:-:arch:-:hash:-${{ hashFiles('**/pubspec.lock') }} flutter-:os:-:channel:-:version:-:arch:-:hash
The text was updated successfully, but these errors were encountered:
Just added it here 88cab40, will publish a release soon. In the meantime please try with the main branch.
main
Sorry, something went wrong.
No branches or pull requests
Cache restore-keys options allow the cache to be restored even when they are invalidated in some cases.
For a scenario where one uses a custom
cache-key
that includes lock files, a restore-key would be almost always necessary.The text was updated successfully, but these errors were encountered: