From ad6a2371ace545d532594fa6cdb6446d64db1bd0 Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 21 Aug 2025 22:51:44 +0800 Subject: [PATCH] ... --- dist/index.js | 2 ++ src/unix-install.ts | 3 +++ 2 files changed, 5 insertions(+) diff --git a/dist/index.js b/dist/index.js index 3f41662..91925f2 100644 --- a/dist/index.js +++ b/dist/index.js @@ -71028,6 +71028,8 @@ async function unixInstall(version) { 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 (0, exec_1.exec)(`xmake --root l utils.binary.deplibs ${path.join(fullCachePath, 'bin', 'xmake')}`); } catch (_c) { core.warning(`No cached files found at path "${fullCachePath}".`); diff --git a/src/unix-install.ts b/src/unix-install.ts index 9bf0488..bf01c98 100644 --- a/src/unix-install.ts +++ b/src/unix-install.ts @@ -47,6 +47,9 @@ export async function unixInstall(version: Version): Promise { 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);