From 9351ea3f733f5c17b4989b0f40b7483935d0e0a9 Mon Sep 17 00:00:00 2001 From: Lucas Costi Date: Fri, 17 Jun 2022 13:45:01 +1000 Subject: [PATCH] Add mention of new list+delete cache API --- .../caching-dependencies-to-speed-up-workflows.md | 2 +- data/features/actions-cache-list-delete-apis.yml | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 data/features/actions-cache-list-delete-apis.yml diff --git a/content/actions/using-workflows/caching-dependencies-to-speed-up-workflows.md b/content/actions/using-workflows/caching-dependencies-to-speed-up-workflows.md index 30c34b09dd..00e4b4b9fc 100644 --- a/content/actions/using-workflows/caching-dependencies-to-speed-up-workflows.md +++ b/content/actions/using-workflows/caching-dependencies-to-speed-up-workflows.md @@ -269,6 +269,6 @@ For information on changing the policies for the repository cache size limit, se ## 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. +You can use the {% data variables.product.product_name %} REST API to manage your caches. {% ifversion actions-cache-list-delete-apis %}You can use the API to list and delete cache entries, and see your cache usage.{% elsif actions-cache-management %}At present, you can use the API to see your cache usage, with more functionality expected in future updates.{% endif %} For more information, see the "[{% data variables.product.prodname_actions %} Cache](/rest/actions/cache)" REST API documentation. {% endif %} diff --git a/data/features/actions-cache-list-delete-apis.yml b/data/features/actions-cache-list-delete-apis.yml new file mode 100644 index 0000000000..8cb742d808 --- /dev/null +++ b/data/features/actions-cache-list-delete-apis.yml @@ -0,0 +1,8 @@ +# Reference: #7340 +# Extends actions-cache-management.yml (Issue #6154) +# Documentation for Actions cache list and delete APIs +versions: + fpt: '*' + ghec: '*' + ghes: '> 3.6' + ghae: 'issue-7340'