-
Notifications
You must be signed in to change notification settings - Fork 45
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
Java toolchain cache entries are not differentiated by architecture #138
Comments
I think you're saying that the same 'java-toolchains' cache entry published from This would run a bit counter to the "cache entries are specific to operating system" rule that we observe with the GitHub Actions cache (#27). Can you please confirm/clarify? |
Yes, exactly. I will test it, but according to the docs,
I also don't know, if action/cache uses RUNNER_ARCH at all, because |
OK thanks for clarifying. A simple approach might be to simply append the |
Previously, including RUNNER_OS was enough to prevent leaking incompatible content between Gradle User Homes. With the introduction of macos-14, we now need to differentiate between different runner architectures as well. Fixes #138
If you use a matrix with different RUNNER_ARCHs, like
macos-latest
(x64) andmacos-14
(M1), the jdk cache is restored but it is specific to the arch causing a cache miss.The text was updated successfully, but these errors were encountered: