Skip to content
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

docs: correct default cache path #646

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

razonyang
Copy link

May fixes #645, but I'm not sure, since I didn't find any information about this cache path after searching docs, @deining would you mind checking if this PR is OK?

@deining
Copy link
Contributor

deining commented Mar 12, 2024

@deining would you mind checking if this PR is OK?

I suspect it makes a difference whether your workflow contains actions/go or not. If actions/go is part of the workflow, the cachedir is /home/runner/.cache/hugo_cache, without actions/go the cachedir is /tmp/hugo_cache_runner.
I created this PR to confirm. @razonyang: Can you please approve this PR and check the results of the workflow run? Thanks!

@razonyang
Copy link
Author

@deining You're right, I modified the PR a little more to cover those two use cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

support: the default cachedir seems incorrect without actions/setup-go step
2 participants