cache packages
This commit is contained in:
Vendored
+1
-1
@@ -82722,8 +82722,8 @@ async function getPackageCachePath() {
|
|||||||
packageCachePath += data.toString();
|
packageCachePath += data.toString();
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
packageCachePath = packageCachePath.trim();
|
|
||||||
await (0, exec_1.exec)('xmake', ['l', 'core.package.package.installdir'], options);
|
await (0, exec_1.exec)('xmake', ['l', 'core.package.package.installdir'], options);
|
||||||
|
packageCachePath = packageCachePath.trim();
|
||||||
core.info(`packageCachePath: ${packageCachePath}`);
|
core.info(`packageCachePath: ${packageCachePath}`);
|
||||||
return packageCachePath;
|
return packageCachePath;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ async function getPackageCachePath(): Promise<string> {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
await exec('xmake', ['l', 'core.package.package.installdir'], options);
|
await exec('xmake', ['l', 'core.package.package.installdir'], options);
|
||||||
packageCachePath = packageCachePath.trim().trim('"');
|
packageCachePath = packageCachePath.trim();
|
||||||
core.info(`packageCachePath: ${packageCachePath}`);
|
core.info(`packageCachePath: ${packageCachePath}`);
|
||||||
return packageCachePath;
|
return packageCachePath;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user