Add cache section for Actions REST API (#24924)
* Add cache section for Actions REST API * Add permissions entries, cache section * Add new cache directory after REST reactify changes * Update content/actions/using-workflows/caching-dependencies-to-speed-up-workflows.md Co-authored-by: Martin Lopes <martin389@github.com> * Add versioning for GHES/AE Co-authored-by: Martin Lopes <martin389@github.com> Co-authored-by: Felicity Chapman <felicitymay@github.com>
This commit is contained in:
@@ -234,3 +234,11 @@ For example, if a pull request contains a `feature` branch (the current scope) a
|
||||
## Usage limits and eviction policy
|
||||
|
||||
{% data variables.product.prodname_dotcom %} will remove any cache entries that have not been accessed in over 7 days. There is no limit on the number of caches you can store, but the total size of all caches in a repository is limited to 10 GB. If you exceed this limit, {% data variables.product.prodname_dotcom %} will save your cache but will begin evicting caches until the total size is less than 10 GB.
|
||||
|
||||
{% if actions-cache-management %}
|
||||
|
||||
## Managing caches
|
||||
|
||||
You can use the {% data variables.product.product_name %} REST API to manage your caches. At present, you can use the API to see your cache usage, with more functionality expected in future updates. For more information, see the "[Actions](/rest/reference/actions#cache)" REST API documentation.
|
||||
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user