-
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
Cache is not saved when using cache-dependency-path
#578
Comments
I just found #488, which seems to be related, but maybe not the same issue exactly. |
I was able to get this working by explicitly adding |
Hello @IanVS. Thank you for your report. We'll investigate the issue. |
@IanVS i am closing the issue because of no activity for 2 weeks, but please feel free to reopen this issue or to o create another one in case the problem still exists. |
Hi, I have same issue, thanks :) |
Description:
I'm using a multi-project repo setup, where the top-level of my repo does not have a package.json or a yarn.lock, but subfolders do. I use
cache-dependency-path
to specify the subfolder, and node dependencies are correctly installed. But then, in the post step, I get the error:Because it seems that
/usr/local/bin/yarn config get cacheFolder
is being run at the top level, rather than my subfolder.Action version:
v2
Platform:
Runner type:
Tools version:
yarn 3.1.1
Repro steps:
Expected behavior:
Deps should be installed and cached, without failing.
Actual behavior:
The
Post Use Node
step fails with:The text was updated successfully, but these errors were encountered: