-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
actions/cache@v2 error: Cache Service Url not found, unable to restore cache #285
Comments
Happens with Seems that every test of a github action requires all npm modules to be installed.... Has anyone found a work around? |
still searching anithin better than comment lines to use act |
The |
Issue is stale and will be closed in 7 days unless there is new activity |
Any progress on this? seems to be linked to #329 |
Issue is stale and will be closed in 7 days unless there is new activity |
I guess this can be tracked as part of #329 |
If you are using nektos/act to develop GHA workflows locally and want to get
I will repeat that last step, because it is a much better solution than trying to get the cache action working locally; Use act's
|
@BevanR in this case we have to set |
As @netaskd as informed us, this only works if each job has the same It seems |
act is a tool that let's users test GitHub Actions on a local machine, but it doesn't support caching at the moment. nektos/act#285 (comment)
act is a tool that let's users test GitHub Actions on a local machine, but it doesn't support caching at the moment. nektos/act#285 (comment)
I am using a github action developed by someone else in my own action via |
@leumasme |
I am using bazelisk. I used the exact yml (minus mount cache step) as provided by the website and I got the following errors. Any workaround or future support for bazel?
|
As netaskd and guice have said you need to use the same name for each job that uses actions/cache. What i have done to make it more dynamic is to set the name of jobs like the following so i don't have to make changes to test locally or before pushing:
|
I am not sure how the cache is meant to work with nektos/act, but when working around bug #257, the cache will always throw a
cache-hit=false
with the following errors:The text was updated successfully, but these errors were encountered: