[bot] Update dist directory

This commit is contained in:
bigdaz 2024-09-13 17:18:30 +00:00 committed by github-actions[bot]
parent 340f8b64e0
commit b4c01c399c
8 changed files with 28 additions and 28 deletions

View file

@ -180368,7 +180368,9 @@ async function restoreCache(cachePath, cacheKey, cacheRestoreKeys, listener) {
: { segmentTimeoutInMs: SEGMENT_DOWNLOAD_TIMEOUT_DEFAULT };
const restoredEntry = await cache.restoreCache(cachePath, cacheKey, cacheRestoreKeys, cacheRestoreOptions);
if (restoredEntry !== undefined) {
listener.markRestored(restoredEntry.key, restoredEntry.size, Date.now() - startTime);
const restoreTime = Date.now() - startTime;
listener.markRestored(restoredEntry.key, restoredEntry.size, restoreTime);
core.info(`Restored cache entry with key ${cacheKey} to ${cachePath.join()} in ${restoreTime}ms`);
}
return restoredEntry;
}
@ -180382,7 +180384,9 @@ async function saveCache(cachePath, cacheKey, listener) {
try {
const startTime = Date.now();
const savedEntry = await cache.saveCache(cachePath, cacheKey);
listener.markSaved(savedEntry.key, savedEntry.size, Date.now() - startTime);
const saveTime = Date.now() - startTime;
listener.markSaved(savedEntry.key, savedEntry.size, saveTime);
core.info(`Saved cache entry with key ${cacheKey} from ${cachePath.join()} in ${saveTime}ms`);
}
catch (error) {
if (error instanceof cache.ReserveCacheError) {
@ -180677,7 +180681,6 @@ class AbstractEntryExtractor {
async restoreExtractedCacheEntry(artifactType, cacheKey, pattern, listener) {
const restoredEntry = await (0, cache_utils_1.restoreCache)([pattern], cacheKey, [], listener);
if (restoredEntry) {
core.info(`Restored ${artifactType} with key ${cacheKey} to ${pattern} in ${listener.restoredTime}ms`);
return new ExtractedCacheEntry(artifactType, pattern, cacheKey);
}
else {
@ -180727,7 +180730,6 @@ class AbstractEntryExtractor {
}
else {
await (0, cache_utils_1.saveCache)([pattern], cacheKey, entryListener);
core.info(`Saved ${artifactType} with key ${cacheKey} from ${pattern} in ${entryListener.savedTime}ms`);
}
for (const file of matchingFiles) {
(0, cache_utils_1.tryDelete)(file);
@ -180966,7 +180968,6 @@ class GradleUserHomeCache {
return;
}
core.saveState(RESTORED_CACHE_KEY_KEY, cacheResult.key);
core.info(`Restored ${this.cacheDescription} with key ${cacheResult.key} to ${cachePath.join()} in ${entryListener.restoredTime}ms`);
try {
await this.afterRestore(listener);
}
@ -181006,7 +181007,6 @@ class GradleUserHomeCache {
}
const cachePath = this.getCachePath();
await (0, cache_utils_1.saveCache)(cachePath, cacheKey, gradleHomeEntryListener);
core.info(`Saved ${this.cacheDescription} with key ${cacheKey} from ${cachePath.join()} in ${gradleHomeEntryListener.savedTime}ms`);
return;
}
async beforeSave(listener) {

File diff suppressed because one or more lines are too long

View file

@ -133974,7 +133974,9 @@ async function restoreCache(cachePath, cacheKey, cacheRestoreKeys, listener) {
: { segmentTimeoutInMs: SEGMENT_DOWNLOAD_TIMEOUT_DEFAULT };
const restoredEntry = await cache.restoreCache(cachePath, cacheKey, cacheRestoreKeys, cacheRestoreOptions);
if (restoredEntry !== undefined) {
listener.markRestored(restoredEntry.key, restoredEntry.size, Date.now() - startTime);
const restoreTime = Date.now() - startTime;
listener.markRestored(restoredEntry.key, restoredEntry.size, restoreTime);
core.info(`Restored cache entry with key ${cacheKey} to ${cachePath.join()} in ${restoreTime}ms`);
}
return restoredEntry;
}
@ -133988,7 +133990,9 @@ async function saveCache(cachePath, cacheKey, listener) {
try {
const startTime = Date.now();
const savedEntry = await cache.saveCache(cachePath, cacheKey);
listener.markSaved(savedEntry.key, savedEntry.size, Date.now() - startTime);
const saveTime = Date.now() - startTime;
listener.markSaved(savedEntry.key, savedEntry.size, saveTime);
core.info(`Saved cache entry with key ${cacheKey} from ${cachePath.join()} in ${saveTime}ms`);
}
catch (error) {
if (error instanceof cache.ReserveCacheError) {
@ -134283,7 +134287,6 @@ class AbstractEntryExtractor {
async restoreExtractedCacheEntry(artifactType, cacheKey, pattern, listener) {
const restoredEntry = await (0, cache_utils_1.restoreCache)([pattern], cacheKey, [], listener);
if (restoredEntry) {
core.info(`Restored ${artifactType} with key ${cacheKey} to ${pattern} in ${listener.restoredTime}ms`);
return new ExtractedCacheEntry(artifactType, pattern, cacheKey);
}
else {
@ -134333,7 +134336,6 @@ class AbstractEntryExtractor {
}
else {
await (0, cache_utils_1.saveCache)([pattern], cacheKey, entryListener);
core.info(`Saved ${artifactType} with key ${cacheKey} from ${pattern} in ${entryListener.savedTime}ms`);
}
for (const file of matchingFiles) {
(0, cache_utils_1.tryDelete)(file);
@ -134572,7 +134574,6 @@ class GradleUserHomeCache {
return;
}
core.saveState(RESTORED_CACHE_KEY_KEY, cacheResult.key);
core.info(`Restored ${this.cacheDescription} with key ${cacheResult.key} to ${cachePath.join()} in ${entryListener.restoredTime}ms`);
try {
await this.afterRestore(listener);
}
@ -134612,7 +134613,6 @@ class GradleUserHomeCache {
}
const cachePath = this.getCachePath();
await (0, cache_utils_1.saveCache)(cachePath, cacheKey, gradleHomeEntryListener);
core.info(`Saved ${this.cacheDescription} with key ${cacheKey} from ${cachePath.join()} in ${gradleHomeEntryListener.savedTime}ms`);
return;
}
async beforeSave(listener) {

File diff suppressed because one or more lines are too long

View file

@ -180353,7 +180353,9 @@ async function restoreCache(cachePath, cacheKey, cacheRestoreKeys, listener) {
: { segmentTimeoutInMs: SEGMENT_DOWNLOAD_TIMEOUT_DEFAULT };
const restoredEntry = await cache.restoreCache(cachePath, cacheKey, cacheRestoreKeys, cacheRestoreOptions);
if (restoredEntry !== undefined) {
listener.markRestored(restoredEntry.key, restoredEntry.size, Date.now() - startTime);
const restoreTime = Date.now() - startTime;
listener.markRestored(restoredEntry.key, restoredEntry.size, restoreTime);
core.info(`Restored cache entry with key ${cacheKey} to ${cachePath.join()} in ${restoreTime}ms`);
}
return restoredEntry;
}
@ -180367,7 +180369,9 @@ async function saveCache(cachePath, cacheKey, listener) {
try {
const startTime = Date.now();
const savedEntry = await cache.saveCache(cachePath, cacheKey);
listener.markSaved(savedEntry.key, savedEntry.size, Date.now() - startTime);
const saveTime = Date.now() - startTime;
listener.markSaved(savedEntry.key, savedEntry.size, saveTime);
core.info(`Saved cache entry with key ${cacheKey} from ${cachePath.join()} in ${saveTime}ms`);
}
catch (error) {
if (error instanceof cache.ReserveCacheError) {
@ -180662,7 +180666,6 @@ class AbstractEntryExtractor {
async restoreExtractedCacheEntry(artifactType, cacheKey, pattern, listener) {
const restoredEntry = await (0, cache_utils_1.restoreCache)([pattern], cacheKey, [], listener);
if (restoredEntry) {
core.info(`Restored ${artifactType} with key ${cacheKey} to ${pattern} in ${listener.restoredTime}ms`);
return new ExtractedCacheEntry(artifactType, pattern, cacheKey);
}
else {
@ -180712,7 +180715,6 @@ class AbstractEntryExtractor {
}
else {
await (0, cache_utils_1.saveCache)([pattern], cacheKey, entryListener);
core.info(`Saved ${artifactType} with key ${cacheKey} from ${pattern} in ${entryListener.savedTime}ms`);
}
for (const file of matchingFiles) {
(0, cache_utils_1.tryDelete)(file);
@ -180951,7 +180953,6 @@ class GradleUserHomeCache {
return;
}
core.saveState(RESTORED_CACHE_KEY_KEY, cacheResult.key);
core.info(`Restored ${this.cacheDescription} with key ${cacheResult.key} to ${cachePath.join()} in ${entryListener.restoredTime}ms`);
try {
await this.afterRestore(listener);
}
@ -180991,7 +180992,6 @@ class GradleUserHomeCache {
}
const cachePath = this.getCachePath();
await (0, cache_utils_1.saveCache)(cachePath, cacheKey, gradleHomeEntryListener);
core.info(`Saved ${this.cacheDescription} with key ${cacheKey} from ${cachePath.join()} in ${gradleHomeEntryListener.savedTime}ms`);
return;
}
async beforeSave(listener) {

File diff suppressed because one or more lines are too long

View file

@ -180348,7 +180348,9 @@ async function restoreCache(cachePath, cacheKey, cacheRestoreKeys, listener) {
: { segmentTimeoutInMs: SEGMENT_DOWNLOAD_TIMEOUT_DEFAULT };
const restoredEntry = await cache.restoreCache(cachePath, cacheKey, cacheRestoreKeys, cacheRestoreOptions);
if (restoredEntry !== undefined) {
listener.markRestored(restoredEntry.key, restoredEntry.size, Date.now() - startTime);
const restoreTime = Date.now() - startTime;
listener.markRestored(restoredEntry.key, restoredEntry.size, restoreTime);
core.info(`Restored cache entry with key ${cacheKey} to ${cachePath.join()} in ${restoreTime}ms`);
}
return restoredEntry;
}
@ -180362,7 +180364,9 @@ async function saveCache(cachePath, cacheKey, listener) {
try {
const startTime = Date.now();
const savedEntry = await cache.saveCache(cachePath, cacheKey);
listener.markSaved(savedEntry.key, savedEntry.size, Date.now() - startTime);
const saveTime = Date.now() - startTime;
listener.markSaved(savedEntry.key, savedEntry.size, saveTime);
core.info(`Saved cache entry with key ${cacheKey} from ${cachePath.join()} in ${saveTime}ms`);
}
catch (error) {
if (error instanceof cache.ReserveCacheError) {
@ -180657,7 +180661,6 @@ class AbstractEntryExtractor {
async restoreExtractedCacheEntry(artifactType, cacheKey, pattern, listener) {
const restoredEntry = await (0, cache_utils_1.restoreCache)([pattern], cacheKey, [], listener);
if (restoredEntry) {
core.info(`Restored ${artifactType} with key ${cacheKey} to ${pattern} in ${listener.restoredTime}ms`);
return new ExtractedCacheEntry(artifactType, pattern, cacheKey);
}
else {
@ -180707,7 +180710,6 @@ class AbstractEntryExtractor {
}
else {
await (0, cache_utils_1.saveCache)([pattern], cacheKey, entryListener);
core.info(`Saved ${artifactType} with key ${cacheKey} from ${pattern} in ${entryListener.savedTime}ms`);
}
for (const file of matchingFiles) {
(0, cache_utils_1.tryDelete)(file);
@ -180946,7 +180948,6 @@ class GradleUserHomeCache {
return;
}
core.saveState(RESTORED_CACHE_KEY_KEY, cacheResult.key);
core.info(`Restored ${this.cacheDescription} with key ${cacheResult.key} to ${cachePath.join()} in ${entryListener.restoredTime}ms`);
try {
await this.afterRestore(listener);
}
@ -180986,7 +180987,6 @@ class GradleUserHomeCache {
}
const cachePath = this.getCachePath();
await (0, cache_utils_1.saveCache)(cachePath, cacheKey, gradleHomeEntryListener);
core.info(`Saved ${this.cacheDescription} with key ${cacheKey} from ${cachePath.join()} in ${gradleHomeEntryListener.savedTime}ms`);
return;
}
async beforeSave(listener) {

File diff suppressed because one or more lines are too long