From d6224b7c49f3e54c46ef63ed08f4652568269679 Mon Sep 17 00:00:00 2001 From: hulk510 Date: Wed, 17 Jan 2024 22:49:05 +0900 Subject: [PATCH] chore: bundle --- dist/index.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/dist/index.js b/dist/index.js index 5b670192..1fdf6a8c 100644 --- a/dist/index.js +++ b/dist/index.js @@ -29652,17 +29652,13 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.run = void 0; const core = __importStar(__nccwpck_require__(9093)); const github = __importStar(__nccwpck_require__(5942)); -const getActionsCacheList = (octokit, repo, ref) => { +const deleteRefActionsCache = async (octokit, repo, ref) => { // Get the list of cache IDs // https://github.com/octokit/plugin-paginate-rest.js#octokitpaginate const iterator = octokit.paginate.iterator(octokit.rest.actions.getActionsCacheList, { ...repo, - ref: ref + ref }); - return iterator; -}; -const deleteRefActionsCache = async (octokit, repo, ref) => { - const iterator = getActionsCacheList(octokit, repo, ref); for await (const { data: cacheList } of iterator) { for (const { id: cacheId } of cacheList) { if (!cacheId)