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

Caching #8

Closed
hynek opened this issue Aug 21, 2022 · 0 comments · Fixed by #57
Closed

Caching #8

hynek opened this issue Aug 21, 2022 · 0 comments · Fixed by #57

Comments

@hynek
Copy link
Owner

hynek commented Aug 21, 2022

So I've tried adding caching a few times, but it looks like the cache-dependency-path must be in the repo that runs the action.

I've went as far as resolving the action_path to an absolute path in cb01344, but that just gave me:

Error: No file in /home/runner/work/argon2-cffi/argon2-cffi matched to [/home/runner/work/_actions/hynek/build-and-inspect-python-package/v1.2/requirements/tools.txt], make sure you have checked out the target repository

And relative paths are not permitted either.

I guess I don't know enough about GitHub Actions to come up with the obvious solution, so I'll leave this open if someone comes along who does.

I guess the overarching question is, whether hashFiles can be made to hash a file in the action directory vs in the repo.

If so, we probably could cache the whole pyenv manually with https://github.com/actions/cache.

Ref #6

@hynek hynek mentioned this issue Aug 21, 2022
@hynek hynek linked a pull request Jul 25, 2023 that will close this issue
@hynek hynek closed this as completed in #57 Jul 25, 2023
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 a pull request may close this issue.

1 participant