...
This commit is contained in:
@@ -47,6 +47,9 @@ 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}`);
|
||||
|
||||
// xmake l utils.binary.deplibs /Users/ruki/.local/bin/xmake
|
||||
await exec(`xmake --root l utils.binary.deplibs ${path.join(fullCachePath, 'bin', 'xmake')}`);
|
||||
} catch {
|
||||
core.warning(`No cached files found at path "${fullCachePath}".`);
|
||||
await io.rmRF(fullCachePath);
|
||||
|
||||
Reference in New Issue
Block a user