We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 852b0f2 + e847a65 commit 1982eecCopy full SHA for 1982eec
.github/workflows/clean.yml
@@ -18,7 +18,7 @@ jobs:
18
console.log(`Deleting caches matching pattern: ${cacheKeysPattern}`);
19
20
// Fetch all cache entries for the repository
21
- const caches = await github.actions.listRepoCaches({
+ const caches = await github.actions.getActionsCacheList({
22
owner: context.repo.owner,
23
repo: context.repo.repo,
24
});
@@ -31,10 +31,10 @@ jobs:
31
// Delete matching caches
32
for (const cache of matchingCaches) {
33
/*
34
- await github.actions.deleteActionsCacheById({
+ await github.actions.deleteActionsCacheByKey({
35
36
37
- cache_id: cache.id
+ key: cache.key
38
39
*/
40
console.log(`Deleted cache with key: ${cache.key}`);
0 commit comments