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

Enable caching to save time by recompilation #2

Open
erikscheurer opened this issue Mar 6, 2023 · 0 comments
Open

Enable caching to save time by recompilation #2

erikscheurer opened this issue Mar 6, 2023 · 0 comments

Comments

@erikscheurer
Copy link
Contributor

Currently, some form of caching is implemented, however, it does not work at the moment. The caching step throws an error:

Warning: Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.
Warning: Cache save failed.

even though $HOME/precice exists.

In #1 a few tries also lead showed that it did not work as expected:
When hard coding /home/runner/precice/ the cache worked as expected, however, the cache failed to be downloaded again, even though the key was unique (Linux-precice-5e07bad3ac6fda7e761aacf80461942b2f83ceca)

What also should be changed about the caching is the key, which should include the build directory to restore to the correct location.

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

No branches or pull requests

1 participant