remove internal API client

This commit is contained in:
Sergey Dolin
2023-07-05 16:46:04 +02:00
parent ef7b227095
commit 8f54fa9cb2
9 changed files with 2 additions and 495 deletions

2
dist/index.js vendored
View File

@@ -1631,7 +1631,7 @@ class StateCacheStorage {
yield resetCacheWithOctokit(CACHE_KEY);
const fileSize = fs_1.default.statSync(filePath).size;
if (fileSize === 0) {
core.info(`the cache ${CACHE_KEY} will be removed`);
core.info(`the state will be removed`);
return;
}
yield cache.saveCache([path_1.default.dirname(filePath)], CACHE_KEY);