Skip to content

Commit d7cf3e8

Browse files
committed
...
1 parent ad6a237 commit d7cf3e8

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

dist/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71028,8 +71028,6 @@ async function unixInstall(version) {
7102871028
fs.accessSync(path.join(fullCachePath, 'bin', 'xmake'), fs.constants.X_OK);
7102971029
toolDir = fullCachePath;
7103071030
core.info(`cache path: ${toolDir}, key: ${cacheKey}`);
71031-
// xmake l utils.binary.deplibs /Users/ruki/.local/bin/xmake
71032-
await (0, exec_1.exec)(`xmake --root l utils.binary.deplibs ${path.join(fullCachePath, 'bin', 'xmake')}`);
7103371031
}
7103471032
catch (_c) {
7103571033
core.warning(`No cached files found at path "${fullCachePath}".`);
@@ -71076,6 +71074,8 @@ async function unixInstall(version) {
7107671074
else {
7107771075
core.addPath(path.join(toolDir, 'share', 'xmake')); // only for <= 2.3.1
7107871076
}
71077+
// xmake l utils.binary.deplibs /Users/ruki/.local/bin/xmake
71078+
await (0, exec_1.exec)(`xmake --root l utils.binary.deplibs ${path.join(toolDir, 'bin', 'xmake')}`);
7107971079
}
7108071080

7108171081

src/unix-install.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,6 @@ export async function unixInstall(version: Version): Promise<void> {
4747
fs.accessSync(path.join(fullCachePath, 'bin', 'xmake'), fs.constants.X_OK);
4848
toolDir = fullCachePath;
4949
core.info(`cache path: ${toolDir}, key: ${cacheKey}`);
50-
51-
// xmake l utils.binary.deplibs /Users/ruki/.local/bin/xmake
52-
await exec(`xmake --root l utils.binary.deplibs ${path.join(fullCachePath, 'bin', 'xmake')}`);
5350
} catch {
5451
core.warning(`No cached files found at path "${fullCachePath}".`);
5552
await io.rmRF(fullCachePath);
@@ -95,4 +92,7 @@ export async function unixInstall(version: Version): Promise<void> {
9592
} else {
9693
core.addPath(path.join(toolDir, 'share', 'xmake')); // only for <= 2.3.1
9794
}
95+
96+
// xmake l utils.binary.deplibs /Users/ruki/.local/bin/xmake
97+
await exec(`xmake --root l utils.binary.deplibs ${path.join(toolDir, 'bin', 'xmake')}`);
9898
}

0 commit comments

Comments
 (0)