@@ -28286,7 +28286,7 @@ function getPlatform() {
2828628286function getFileName() {
2828728287 const platform = getPlatform();
2828828288 const arch = getArch();
28289- return `pglt_ ${arch}-${platform}`;
28289+ return `postgrestools_ ${arch}-${platform}`;
2829028290}
2829128291function getDownloadUrl(version) {
2829228292 const filename = getFileName();
@@ -28299,10 +28299,10 @@ function getDownloadUrl(version) {
2829928299}
2830028300function determineInstalledVersion() {
2830128301 return __awaiter(this, void 0, void 0, function* () {
28302- const { stdout } = yield doExec(`pglt --version`);
28302+ const { stdout } = yield doExec(`postgrestools --version`);
2830328303 const version = stdout.trim();
2830428304 if (!version) {
28305- throw new Error('Could not determine installed PGLT version');
28305+ throw new Error('Could not determine installed PostgresTools version');
2830628306 }
2830728307 return version;
2830828308 });
@@ -28319,12 +28319,12 @@ function main() {
2831928319 core.info(`Binary dir not found. Creating one at ${binDir}`);
2832028320 yield (0, promises_1.mkdir)(binDir, { recursive: true });
2832128321 }
28322- const symlinkPath = node_path_1.default.join(binDir, 'pglt ');
28322+ const symlinkPath = node_path_1.default.join(binDir, 'postgrestools ');
2832328323 yield (0, promises_1.symlink)(tool, symlinkPath);
2832428324 core.info(`Adding to path: ${binDir}`);
2832528325 core.addPath(binDir);
2832628326 /**
28327- * TODO: GH Runner still won't find the `pglt ` binary
28327+ * TODO: GH Runner still won't find the `postgrestools ` binary
2832828328 * The `tool` binary path works, however – seems to be something with symlink?
2832928329 */
2833028330 const installedVersion = yield determineInstalledVersion();
0 commit comments