-
Notifications
You must be signed in to change notification settings - Fork 354
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
yarn cache saving nothing #407
Comments
I've found the way to fix it is to add - run: yarn config set cache-folder ~/.cache/yarn That way it matches what is in the code. |
These issues seem to be tangentially related: #430 This workaround is not really a solution if you are leveraging Zero-Installs and using the If I try the workaround mentioned above (using yarn2 syntax) before my install step:
Then, I'll get this error:
Locally, if you run this in the project, you'll see that it's adding the following line to the
If you dig into the yarn code, you'll see this: With Zero-Installs, most projects will be checking in their entire cache directory: To fix this, I believe there needs to be a way for What are your thoughts? |
See also the updated README > Yarn Modern which discusses how to run Yarn Modern including a workaround for Yarn Plug'n'Play. |
In the logs:
I am noticing that subsequent runs are hitting cache but cache is empty. Probably this is pointing at the wrong paths for yarn. see:
github-action/index.js
Line 118 in 6eb6f88
yarn cache dir
returns?The text was updated successfully, but these errors were encountered: