Skip to content

Bundler/bundle not using cache in Github Actions #25350

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

You must be logged in to vote

Hi @avimoondra,

Thank you for being here!
In your workflow, cache hit cause bundle installation is not stored into cache. Hence, it will take 3mins to install again. You can edit Gemfile.lock and push an empty submit, change the hash value will cause a cache miss, new cache will contain your bundle installation content. Then, you will find if cache hit next time, it will reduce much of time for the step.

I forked your repo, if i manually create a catch miss in prior workflow, in next workflow, it only takes 2s for the step.

GitHub

weide-zhou/defund12.org

defund12.org. Contribute to weide-zhou/defund12.org development by creating an account on GitHub.

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
2 participants