question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How is the caching logic supposed to work the first time you use this action?

See original GitHub issue

If you’ve got cache defined, it starts by attempting to restore the cache. If the cache doesn’t exist (such as on your first usage of cache), it errors out. Am I missing something?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5

github_iconTop GitHub Comments

3reactions
markgohocommented, Sep 17, 2021

you made the comparison between how the Node.js action caches dependencies and how the Ruby action caches dependencies and now you’re comparing GitHub Actions to CircleCI and Jenkins

would you like to keep moving the goalposts? maybe we should next make comparisons between git and subversion?

1reaction
tstirrat15commented, Sep 17, 2021

Because other CI providers present a unified interface for installing and caching packages?

It’s not an unreasonable expectation, coming from another CI provider, to expect Github’s CI provider to behave similarly.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is Caching and How it Works - AWS
How does Caching work? ... The data in a cache is generally stored in fast access hardware such as RAM (Random-access memory) and...
Read more >
Caching - System Design Concept For Beginners
When the first time a request is made a call will have to be made to the database to process the query. This...
Read more >
Caching - Green Tea Press
In the most basic cache, data gets moved into cache when it is used for the first time. But many caches use some...
Read more >
Caching guidance - Azure Architecture Center | Microsoft Learn
Caching is a common technique that aims to improve the performance and scalability of a system. It caches data by temporarily copying frequently...
Read more >
Three Ways To Improve Performance Using Caching In ASP ...
Again, it is time to run the application after configuration of caching for static contents. When we run the application for the first...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found