fixing library warning in setup step
parent
c5eec1f675
commit
420ce7645e
|
|
@ -546,7 +546,10 @@ class Caching {
|
||||||
if (__1.Input.cloudRunnerTests) {
|
if (__1.Input.cloudRunnerTests) {
|
||||||
cloud_runner_logger_1.default.log(`Hashed cache folder ${yield lfs_hashing_1.LFSHashing.hashAllFiles(sourceFolder)}`);
|
cloud_runner_logger_1.default.log(`Hashed cache folder ${yield lfs_hashing_1.LFSHashing.hashAllFiles(sourceFolder)}`);
|
||||||
}
|
}
|
||||||
console_1.assert(fs_1.default.existsSync(`${sourceFolder}`));
|
console_1.assert(fs_1.default.existsSync(`${path_1.default.basename(sourceFolder)}`));
|
||||||
|
if (__1.Input.cloudRunnerTests) {
|
||||||
|
yield cloud_runner_system_1.CloudRunnerSystem.Run(`ls`);
|
||||||
|
}
|
||||||
yield cloud_runner_system_1.CloudRunnerSystem.Run(`zip${__1.Input.cloudRunnerTests ? '' : ' -q'} -r ${cacheKey}.zip ${path_1.default.basename(sourceFolder)}`);
|
yield cloud_runner_system_1.CloudRunnerSystem.Run(`zip${__1.Input.cloudRunnerTests ? '' : ' -q'} -r ${cacheKey}.zip ${path_1.default.basename(sourceFolder)}`);
|
||||||
console_1.assert(fs_1.default.existsSync(`${cacheKey}.zip`));
|
console_1.assert(fs_1.default.existsSync(`${cacheKey}.zip`));
|
||||||
console_1.assert(fs_1.default.existsSync(`${cacheFolder}`));
|
console_1.assert(fs_1.default.existsSync(`${cacheFolder}`));
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -19,7 +19,11 @@ export class Caching {
|
||||||
if (Input.cloudRunnerTests) {
|
if (Input.cloudRunnerTests) {
|
||||||
CloudRunnerLogger.log(`Hashed cache folder ${await LFSHashing.hashAllFiles(sourceFolder)}`);
|
CloudRunnerLogger.log(`Hashed cache folder ${await LFSHashing.hashAllFiles(sourceFolder)}`);
|
||||||
}
|
}
|
||||||
assert(fs.existsSync(`${sourceFolder}`));
|
assert(fs.existsSync(`${path.basename(sourceFolder)}`));
|
||||||
|
|
||||||
|
if (Input.cloudRunnerTests) {
|
||||||
|
await CloudRunnerSystem.Run(`ls`);
|
||||||
|
}
|
||||||
|
|
||||||
await CloudRunnerSystem.Run(
|
await CloudRunnerSystem.Run(
|
||||||
`zip${Input.cloudRunnerTests ? '' : ' -q'} -r ${cacheKey}.zip ${path.basename(sourceFolder)}`,
|
`zip${Input.cloudRunnerTests ? '' : ' -q'} -r ${cacheKey}.zip ${path.basename(sourceFolder)}`,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue