This commit is contained in:
ruki
2025-08-21 22:51:44 +08:00
Unverified
parent da5f63b8ae
commit ad6a2371ac
2 changed files with 5 additions and 0 deletions
+2
View File
@@ -71028,6 +71028,8 @@ 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}".`);
+3
View File
@@ -47,6 +47,9 @@ 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);