Caching Maven dependencies

Hi All,

I was looking into the documentation on Caching dependencies to speed up workflows in [1]. The document makes a reference to Maven dependencies but says that “The path must be located inside of the GITHUB_WORKSPACE directory”. Since Maven dependencies are stored outside of the workspace, who can se setup workflows to cache them?

[1] https://help.github.com/en/actions/automating-your-workflow-with-github-actions/caching-dependencies-to-speed-up-workflows#input-parameters-for-the-cache-action

Thanks in advance :slight_smile:

1 Like

What. Documentation is wrong then, i always used “~/cache-something” and it never failed. I’m guessing it’s copypaste fail as such limitation have no frickin sense - half of examples would be broken then.

1 Like