Skip to content

Commit 6f919f6

Browse files
remove comment
1 parent 407f3b7 commit 6f919f6

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

src/index.ts

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -77,35 +77,6 @@ async function determineInstalledVersion(): Promise<string> {
7777
}
7878

7979
async function main() {
80-
/**
81-
* const core = require('@actions/core');
82-
const tc = require('@actions/tool-cache');
83-
const fs = require('fs');
84-
const path = require('path');
85-
86-
async function run() {
87-
try {
88-
// Define the path to the downloaded binary
89-
const binaryPath = 'path/to/pglt_aarch64-linux'; // Replace with actual path
90-
91-
// Define the path for the symbolic link
92-
const symlinkPath = path.join(binDir, 'pglt');
93-
94-
// Create the symbolic link
95-
fs.symlinkSync(binaryPath, symlinkPath);
96-
97-
// Add the directory to PATH
98-
core.addPath(binDir);
99-
100-
console.log('Binary is now available as pglt');
101-
} catch (error) {
102-
core.setFailed(`Action failed with error: ${error}`);
103-
}
104-
}
105-
106-
run();
107-
108-
*/
10980
try {
11081
const version = core.getInput('version', { required: true })
11182

0 commit comments

Comments
 (0)