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

Customising the cache key #167

Closed
Jamesking56 opened this issue Jul 30, 2021 · 3 comments
Closed

Customising the cache key #167

Jamesking56 opened this issue Jul 30, 2021 · 3 comments

Comments

@Jamesking56
Copy link

Please add a way that we can customise the cache key. We are getting issues with Dependabot PRs that when dependabot rebases, this action fails because its using a cache from the previous run. It would be nice if we could use our own cache key.

@clxmstaab
Copy link

clxmstaab commented Sep 16, 2021

wouldn't it be better to make the default cache-cache work with dependabot, instead of a solution which needs configuration from the action user?

any insights from your side what the issue is caused by and how a possible fix could look like?

ramsey added a commit that referenced this issue Dec 23, 2021
This also adds the following features:

- Use `--prefer-stable` with lowest dependencies (#178)
- Allow use of a custom cache key (#167)
- Allow ability to ignore the cache

Fixes: #187, #161, #152, #79
ramsey added a commit that referenced this issue Dec 23, 2021
This also adds the following features:

- Use `--prefer-stable` with lowest dependencies (#178)
- Allow use of a custom cache key (#167)
- Allow ability to ignore the cache

Fixes: #187, #161, #152, #79
ramsey added a commit that referenced this issue Dec 23, 2021
This also adds the following features:

- Use `--prefer-stable` with lowest dependencies (#178)
- Allow use of a custom cache key (#167)
- Allow ability to ignore the cache

Fixes: #187, #161, #152, #79
@ramsey
Copy link
Owner

ramsey commented Dec 23, 2021

Thanks for the feature request!

This is implemented in v2, please upgrade using ramsey/composer-install@v2 or ramsey/composer-install@2.0.0. Details are available on the release announcement and the README.

Thanks!

@ramsey ramsey closed this as completed Dec 23, 2021
@alexander-schranz
Copy link

@ramsey Thank you for this!

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

4 participants