From 762d5da2033446e772f80a182f08098c3265bdee Mon Sep 17 00:00:00 2001 From: Derrick Marcey Date: Thu, 27 Jun 2019 12:30:53 -0400 Subject: [PATCH] Removing output from action as it's not used. --- action.yml | 3 --- lib/find-ruby.js | 1 - src/find-ruby.ts | 2 -- tsconfig.json | 3 --- 4 files changed, 9 deletions(-) diff --git a/action.yml b/action.yml index ae043fc..2617935 100644 --- a/action.yml +++ b/action.yml @@ -9,9 +9,6 @@ inputs: description: 'Prepend the retrieved Ruby version to the PATH environment variable to make it available in subsequent actions or scripts without using the output variable.' default: 'true' -outputs: - ruby-location: - description: "The resolved folder of the Ruby distribution." runs: using: 'node' main: 'lib/main.js' \ No newline at end of file diff --git a/lib/find-ruby.js b/lib/find-ruby.js index 1ecdba0..5e54444 100644 --- a/lib/find-ruby.js +++ b/lib/find-ruby.js @@ -53,7 +53,6 @@ function default_1(inputs, platform) { const dest = '/usr/bin/ruby'; exec.exec('sudo ln', ['-sf', path.join(toolPath, 'ruby'), dest]); // replace any existing } - //core.setOutput('ruby-location', toolPath); if (inputs.addToPath === 'true') { core.addPath(toolPath); } diff --git a/src/find-ruby.ts b/src/find-ruby.ts index 038e454..4b4c16a 100644 --- a/src/find-ruby.ts +++ b/src/find-ruby.ts @@ -45,8 +45,6 @@ export default async function(inputs: ActionInputs, platform: Platform) { exec.exec('sudo ln', ['-sf', path.join(toolPath, 'ruby'), dest]); // replace any existing } - //core.setOutput('ruby-location', toolPath); - if (inputs.addToPath === 'true') { core.addPath(toolPath); } diff --git a/tsconfig.json b/tsconfig.json index 25dc099..9ecff86 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,9 +4,6 @@ // "incremental": true, /* Enable incremental compilation */ "target": "es6", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */ "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ - "lib": [ - "es6" - ], // "allowJs": true, /* Allow javascript files to be compiled. */ // "checkJs": true, /* Report errors in .js files. */ // "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */