-
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
Is it possible to use cache service URL as a HTTP cache? #547
Labels
Comments
I wrote an action to start a proxy server that has the compatible API. See https://github.com/cirruslabs/http-cache-action |
There's Gradle-tailored action as well: https://github.com/burrunan/gradle-cache-action :) |
@fkorotkov , FYI: open-telemetry/opentelemetry-java-instrumentation#1205 (comment)
|
Will be great to get some official comments about concurrent usage of the API. 🤔 |
This was referenced Jun 21, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the enhancement
It would be nice if caching could be used as an HTTP service. Modern build systems like Gradle, Bazel, Pants can use a remote cache to avoid building the same tasks across different builds.
The current
@actions/cache
allows to cache files, however, there's no way to fetch data on demand, and it is hard to make incremental updates to the cache.Can the HTTP cache service be exposed to the build scripts? For instance, read-only for pull-requests, and read-write for branch-based builds.
Additional information
See https://cirrus-ci.org/guide/writing-tasks/#http-cache
The text was updated successfully, but these errors were encountered: