-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
feature request: cache: 'auto' #306
Comments
Hello @privatenumber , we have discussed it in past but looks like we can't determine package manager unequivocally. |
IMO that's an extra option we get to choose from rather than a blocking problem:
|
Hello!
it's this safe? or can I define this better? |
Consider using Stack Overflow, or at least a separate Issue, for help. |
If the target is a project that uses corepack, it can be uniquely identified. |
I suggest using the |
Hello everyone. For now I'm going to close the issue because as it was described some dependency files can be used for both package managers. Besides, for some customers it can be inconvenient about which package manager is used. |
But the |
The reason for closing is very vague and weak. I agree The There are plenty of signals already used by the community. |
If we can't have this in this action officially, I'm going to fork it. However if the maintainers are willing to reopen this, it would be nice to not cause further fragmentation. |
I would like to request that "automatic detection" mode be supported for the
cache
option.The option would check whether the following files exists to determine which caching option (or package manager) to use:
package-lock.json
=> npmyarn.lock
=> yarnpnpm-lock.yaml
=> pnpmThe text was updated successfully, but these errors were encountered: