Skip to content

Commit

Permalink
[bot] Update dist directory
Browse files Browse the repository at this point in the history
  • Loading branch information
bigdaz authored and github-actions[bot] committed Sep 13, 2024
1 parent 340f8b6 commit b4c01c3
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 28 deletions.
12 changes: 6 additions & 6 deletions dist/dependency-submission/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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) {
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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);
}
Expand Down Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion dist/dependency-submission/main/index.js.map

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions dist/dependency-submission/post/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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) {
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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);
}
Expand Down Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion dist/dependency-submission/post/index.js.map

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions dist/setup-gradle/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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) {
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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);
}
Expand Down Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion dist/setup-gradle/main/index.js.map

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions dist/setup-gradle/post/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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) {
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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);
}
Expand Down Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion dist/setup-gradle/post/index.js.map

Large diffs are not rendered by default.

0 comments on commit b4c01c3

Please sign in to comment.