Skip to content

Commit d0c2293

Browse files
await that link
1 parent 9e14d3c commit d0c2293

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

dist/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28329,7 +28329,8 @@ function main() {
2832928329
yield (0, promises_1.mkdir)(binDir, { recursive: true });
2833028330
}
2833128331
const symlinkPath = node_path_1.default.join(binDir, 'pglt');
28332-
(0, promises_1.symlink)(tool, symlinkPath);
28332+
yield (0, promises_1.symlink)(tool, symlinkPath);
28333+
core.info(`Adding to path: ${symlinkPath}`);
2833328334
core.addPath(symlinkPath);
2833428335
const installedVersion = yield determineInstalledVersion();
2833528336
core.setOutput('installed-version', installedVersion);

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,9 @@ async function main() {
103103
}
104104

105105
const symlinkPath = path.join(binDir, 'pglt')
106-
symlink(tool, symlinkPath)
106+
await symlink(tool, symlinkPath)
107107

108+
core.info(`Adding to path: ${symlinkPath}`)
108109
core.addPath(symlinkPath)
109110

110111
const installedVersion = await determineInstalledVersion()

0 commit comments

Comments
 (0)