From 5ef97c0a58d9ef0eaf9afcbbd9de632a9f00fe0e Mon Sep 17 00:00:00 2001 From: Kristi Marsh Date: Fri, 17 Oct 2025 00:19:43 -0500 Subject: [PATCH] Enhance cleanup workflow with caching Added caching configuration to the cleanup workflow. Signed-off-by: Kristi Marsh --- .github/workflows/cleanup.yml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cleanup.yml b/.github/workflows/cleanup.yml index f4aaca0..59bc8a8 100644 --- a/.github/workflows/cleanup.yml +++ b/.github/workflows/cleanup.yml @@ -1,4 +1,23 @@ -name: 'Cleanup' +name: 'Cleanup' - name: Cache + uses: actions/cache@v4.3.0 + with: + # A list of files, directories, and wildcard patterns to cache and restore + path: + # An explicit key for restoring and saving the cache + key: + # An ordered multiline string listing the prefix-matched keys, that are used for restoring stale cache if no cache hit occurred for key. Note `cache-hit` returns false in this case. + restore-keys: # optional + # The chunk size used to split up large files during upload, in bytes + upload-chunk-size: # optional + # An optional boolean when enabled, allows windows runners to save or restore caches that can be restored or saved respectively on other platforms + enableCrossOsArchive: # optional, default is false + # Fail the workflow if cache entry is not found + fail-on-cache-miss: # optional, default is false + # Check if a cache entry exists for the given input(s) (key, restore-keys) without downloading the cache + lookup-only: # optional, default is false + # Run the post step to save the cache even if another step before fails + save-always: # optional, default is false + on: schedule: