Skip to content

Commit 1982eec

Browse files
committed
Merge branch 'master' into ci/tests_refactor
2 parents 852b0f2 + e847a65 commit 1982eec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/clean.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
console.log(`Deleting caches matching pattern: ${cacheKeysPattern}`);
1919
2020
// Fetch all cache entries for the repository
21-
const caches = await github.actions.listRepoCaches({
21+
const caches = await github.actions.getActionsCacheList({
2222
owner: context.repo.owner,
2323
repo: context.repo.repo,
2424
});
@@ -31,10 +31,10 @@ jobs:
3131
// Delete matching caches
3232
for (const cache of matchingCaches) {
3333
/*
34-
await github.actions.deleteActionsCacheById({
34+
await github.actions.deleteActionsCacheByKey({
3535
owner: context.repo.owner,
3636
repo: context.repo.repo,
37-
cache_id: cache.id
37+
key: cache.key
3838
});
3939
*/
4040
console.log(`Deleted cache with key: ${cache.key}`);

0 commit comments

Comments
 (0)