Build outputs

This commit is contained in:
Daz DeBoer 2022-08-25 20:05:55 -06:00
parent cc60593845
commit d6110ecac2
No known key found for this signature in database
GPG Key ID: DD6B9F0B06683D5D
4 changed files with 16 additions and 6 deletions

9
dist/main/index.js vendored
View File

@ -65896,7 +65896,7 @@ class CacheCleaner {
} }
ageAllFiles(fileName = '*') { ageAllFiles(fileName = '*') {
return __awaiter(this, void 0, void 0, function* () { return __awaiter(this, void 0, void 0, function* () {
yield exec.exec('find', [this.gradleUserHome, '-name', fileName, '-exec', 'touch', '-m', '-d', '1970-01-01', '{}', '+'], {}); yield exec.exec('find', [this.gradleUserHome, '-name', fileName, '-exec', 'touch', '-m', '-t', '197001010000', '{}', '+'], {});
}); });
} }
touchAllFiles(fileName = '*') { touchAllFiles(fileName = '*') {
@ -66494,7 +66494,12 @@ function isCacheDebuggingEnabled() {
} }
exports.isCacheDebuggingEnabled = isCacheDebuggingEnabled; exports.isCacheDebuggingEnabled = isCacheDebuggingEnabled;
function isCacheCleanupEnabled() { function isCacheCleanupEnabled() {
return core.getBooleanInput(CACHE_CLEANUP_ENABLED_PARAMETER); const userEnabled = core.getBooleanInput(CACHE_CLEANUP_ENABLED_PARAMETER);
if (userEnabled && process.platform === 'win32') {
core.warning('Cache cleanup is not yet supported on Windows');
return false;
}
return userEnabled;
} }
exports.isCacheCleanupEnabled = isCacheCleanupEnabled; exports.isCacheCleanupEnabled = isCacheCleanupEnabled;
class CacheKey { class CacheKey {

File diff suppressed because one or more lines are too long

9
dist/post/index.js vendored
View File

@ -64947,7 +64947,7 @@ class CacheCleaner {
} }
ageAllFiles(fileName = '*') { ageAllFiles(fileName = '*') {
return __awaiter(this, void 0, void 0, function* () { return __awaiter(this, void 0, void 0, function* () {
yield exec.exec('find', [this.gradleUserHome, '-name', fileName, '-exec', 'touch', '-m', '-d', '1970-01-01', '{}', '+'], {}); yield exec.exec('find', [this.gradleUserHome, '-name', fileName, '-exec', 'touch', '-m', '-t', '197001010000', '{}', '+'], {});
}); });
} }
touchAllFiles(fileName = '*') { touchAllFiles(fileName = '*') {
@ -65545,7 +65545,12 @@ function isCacheDebuggingEnabled() {
} }
exports.isCacheDebuggingEnabled = isCacheDebuggingEnabled; exports.isCacheDebuggingEnabled = isCacheDebuggingEnabled;
function isCacheCleanupEnabled() { function isCacheCleanupEnabled() {
return core.getBooleanInput(CACHE_CLEANUP_ENABLED_PARAMETER); const userEnabled = core.getBooleanInput(CACHE_CLEANUP_ENABLED_PARAMETER);
if (userEnabled && process.platform === 'win32') {
core.warning('Cache cleanup is not yet supported on Windows');
return false;
}
return userEnabled;
} }
exports.isCacheCleanupEnabled = isCacheCleanupEnabled; exports.isCacheCleanupEnabled = isCacheCleanupEnabled;
class CacheKey { class CacheKey {

File diff suppressed because one or more lines are too long