...
This commit is contained in:
Vendored
+2
-2
@@ -71028,8 +71028,6 @@ async function unixInstall(version) {
|
|||||||
fs.accessSync(path.join(fullCachePath, 'bin', 'xmake'), fs.constants.X_OK);
|
fs.accessSync(path.join(fullCachePath, 'bin', 'xmake'), fs.constants.X_OK);
|
||||||
toolDir = fullCachePath;
|
toolDir = fullCachePath;
|
||||||
core.info(`cache path: ${toolDir}, key: ${cacheKey}`);
|
core.info(`cache path: ${toolDir}, key: ${cacheKey}`);
|
||||||
// xmake l utils.binary.deplibs /Users/ruki/.local/bin/xmake
|
|
||||||
await (0, exec_1.exec)(`xmake --root l utils.binary.deplibs ${path.join(fullCachePath, 'bin', 'xmake')}`);
|
|
||||||
}
|
}
|
||||||
catch (_c) {
|
catch (_c) {
|
||||||
core.warning(`No cached files found at path "${fullCachePath}".`);
|
core.warning(`No cached files found at path "${fullCachePath}".`);
|
||||||
@@ -71076,6 +71074,8 @@ async function unixInstall(version) {
|
|||||||
else {
|
else {
|
||||||
core.addPath(path.join(toolDir, 'share', 'xmake')); // only for <= 2.3.1
|
core.addPath(path.join(toolDir, 'share', 'xmake')); // only for <= 2.3.1
|
||||||
}
|
}
|
||||||
|
// xmake l utils.binary.deplibs /Users/ruki/.local/bin/xmake
|
||||||
|
await (0, exec_1.exec)(`xmake --root l utils.binary.deplibs ${path.join(toolDir, 'bin', 'xmake')}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+3
-3
@@ -47,9 +47,6 @@ export async function unixInstall(version: Version): Promise<void> {
|
|||||||
fs.accessSync(path.join(fullCachePath, 'bin', 'xmake'), fs.constants.X_OK);
|
fs.accessSync(path.join(fullCachePath, 'bin', 'xmake'), fs.constants.X_OK);
|
||||||
toolDir = fullCachePath;
|
toolDir = fullCachePath;
|
||||||
core.info(`cache path: ${toolDir}, key: ${cacheKey}`);
|
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 {
|
} catch {
|
||||||
core.warning(`No cached files found at path "${fullCachePath}".`);
|
core.warning(`No cached files found at path "${fullCachePath}".`);
|
||||||
await io.rmRF(fullCachePath);
|
await io.rmRF(fullCachePath);
|
||||||
@@ -95,4 +92,7 @@ export async function unixInstall(version: Version): Promise<void> {
|
|||||||
} else {
|
} else {
|
||||||
core.addPath(path.join(toolDir, 'share', 'xmake')); // only for <= 2.3.1
|
core.addPath(path.join(toolDir, 'share', 'xmake')); // only for <= 2.3.1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// xmake l utils.binary.deplibs /Users/ruki/.local/bin/xmake
|
||||||
|
await exec(`xmake --root l utils.binary.deplibs ${path.join(toolDir, 'bin', 'xmake')}`);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user