Skip to content

GitHub Cache with Maven project in subdirectory #26902

Answered by weide-zhou
akefirad asked this question in Actions
Discussion options

You must be logged in to vote

Hi @akefirad,

Glad to see you in Github Community Forum!

I followed your description and copied your code to my repo, however cache works fine after i move the project to subdirectory code. My workflow here, and screenshot below:

The cache miss typically appears in below situation:

  1. It’s first time to run the workflow, and never cached before.
  2. The key or restore key doesn’t match.

And GitHub will remove any cache entries that have not been accessed in over 7 days. Did you cache it recently?

Please kindly have a double check and if the issue persists, please share your repo/sample repo for further investigation.

Thanks

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD Product Feedback
2 participants