Skip to content

Commit 5997e25

Browse files
committed
Update listActionsCaches doc
1 parent 7587714 commit 5997e25

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

lib/analyze-action.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/init-action-post.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/api-client.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -252,9 +252,9 @@ export interface ActionsCacheItem {
252252
size_in_bytes?: number;
253253
}
254254

255-
/** List all Actions cache entries matching the provided key and ref. */
255+
/** List all Actions cache entries starting with the provided key prefix and matching the provided ref. */
256256
export async function listActionsCaches(
257-
key: string,
257+
keyPrefix: string,
258258
ref?: string,
259259
): Promise<ActionsCacheItem[]> {
260260
const repositoryNwo = getRepositoryNwo();
@@ -264,7 +264,7 @@ export async function listActionsCaches(
264264
{
265265
owner: repositoryNwo.owner,
266266
repo: repositoryNwo.repo,
267-
key,
267+
key: keyPrefix,
268268
ref,
269269
},
270270
);

0 commit comments

Comments
 (0)