File tree Expand file tree Collapse file tree 1 file changed +0
-29
lines changed
Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Original file line number Diff line number Diff line change @@ -77,35 +77,6 @@ async function determineInstalledVersion(): Promise<string> {
7777}
7878
7979async 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
You can’t perform that action at this time.
0 commit comments