cache window bin and support dev

This commit is contained in:
ruki
2024-12-11 00:44:02 +08:00
Unverified
parent 65def61bdf
commit 014affb077
8 changed files with 8993 additions and 2301 deletions
+1
View File
@@ -46,6 +46,7 @@ export async function unixInstall(version: Version): Promise<void> {
}
fs.accessSync(path.join(fullCachePath, 'bin', 'xmake'), fs.constants.X_OK);
toolDir = fullCachePath;
core.info(`cache path: ${toolDir}, key: ${cacheKey}`);
} catch {
core.warning(`No cached files found at path "${fullCachePath}".`);
await io.rmRF(fullCachePath);