Build outputs

This commit is contained in:
Daz DeBoer 2022-08-16 17:55:14 -06:00
parent 8f9b7c7d7f
commit 9411346324
No known key found for this signature in database
GPG Key ID: DD6B9F0B06683D5D
4 changed files with 16 additions and 4 deletions

8
dist/main/index.js vendored
View File

@ -66376,6 +66376,7 @@ const JOB_CONTEXT_PARAMETER = 'workflow-job-context';
const CACHE_DISABLED_PARAMETER = 'cache-disabled';
const CACHE_READONLY_PARAMETER = 'cache-read-only';
const CACHE_WRITEONLY_PARAMETER = 'cache-write-only';
const CACHE_TIMEOUT_PARAMETER = 'cache-read-timeout';
const STRICT_CACHE_MATCH_PARAMETER = 'gradle-home-cache-strict-match';
const CACHE_DEBUG_VAR = 'GRADLE_BUILD_ACTION_CACHE_DEBUG_ENABLED';
const CACHE_KEY_PREFIX_VAR = 'GRADLE_BUILD_ACTION_CACHE_KEY_PREFIX';
@ -66402,6 +66403,9 @@ function isCacheDebuggingEnabled() {
return process.env[CACHE_DEBUG_VAR] ? true : false;
}
exports.isCacheDebuggingEnabled = isCacheDebuggingEnabled;
function getCacheReadTimeoutMs() {
return parseInt(core.getInput(CACHE_TIMEOUT_PARAMETER)) * 1000;
}
class CacheKey {
constructor(key, restoreKeys) {
this.key = key;
@ -66459,7 +66463,9 @@ function restoreCache(cachePath, cacheKey, cacheRestoreKeys, listener) {
return __awaiter(this, void 0, void 0, function* () {
listener.markRequested(cacheKey, cacheRestoreKeys);
try {
const restoredEntry = yield cache.restoreCache(cachePath, cacheKey, cacheRestoreKeys);
const restoredEntry = yield cache.restoreCache(cachePath, cacheKey, cacheRestoreKeys, {
segmentTimeoutInMs: getCacheReadTimeoutMs()
});
if (restoredEntry !== undefined) {
listener.markRestored(restoredEntry.key, restoredEntry.size);
}

File diff suppressed because one or more lines are too long

8
dist/post/index.js vendored
View File

@ -65427,6 +65427,7 @@ const JOB_CONTEXT_PARAMETER = 'workflow-job-context';
const CACHE_DISABLED_PARAMETER = 'cache-disabled';
const CACHE_READONLY_PARAMETER = 'cache-read-only';
const CACHE_WRITEONLY_PARAMETER = 'cache-write-only';
const CACHE_TIMEOUT_PARAMETER = 'cache-read-timeout';
const STRICT_CACHE_MATCH_PARAMETER = 'gradle-home-cache-strict-match';
const CACHE_DEBUG_VAR = 'GRADLE_BUILD_ACTION_CACHE_DEBUG_ENABLED';
const CACHE_KEY_PREFIX_VAR = 'GRADLE_BUILD_ACTION_CACHE_KEY_PREFIX';
@ -65453,6 +65454,9 @@ function isCacheDebuggingEnabled() {
return process.env[CACHE_DEBUG_VAR] ? true : false;
}
exports.isCacheDebuggingEnabled = isCacheDebuggingEnabled;
function getCacheReadTimeoutMs() {
return parseInt(core.getInput(CACHE_TIMEOUT_PARAMETER)) * 1000;
}
class CacheKey {
constructor(key, restoreKeys) {
this.key = key;
@ -65510,7 +65514,9 @@ function restoreCache(cachePath, cacheKey, cacheRestoreKeys, listener) {
return __awaiter(this, void 0, void 0, function* () {
listener.markRequested(cacheKey, cacheRestoreKeys);
try {
const restoredEntry = yield cache.restoreCache(cachePath, cacheKey, cacheRestoreKeys);
const restoredEntry = yield cache.restoreCache(cachePath, cacheKey, cacheRestoreKeys, {
segmentTimeoutInMs: getCacheReadTimeoutMs()
});
if (restoredEntry !== undefined) {
listener.markRestored(restoredEntry.key, restoredEntry.size);
}

File diff suppressed because one or more lines are too long