Removing output from action as it's not used.

This commit is contained in:
Derrick Marcey
2019-06-27 12:30:53 -04:00
parent c39a9768cf
commit 762d5da203
4 changed files with 0 additions and 9 deletions

View File

@@ -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.' 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' default: 'true'
outputs:
ruby-location:
description: "The resolved folder of the Ruby distribution."
runs: runs:
using: 'node' using: 'node'
main: 'lib/main.js' main: 'lib/main.js'

View File

@@ -53,7 +53,6 @@ function default_1(inputs, platform) {
const dest = '/usr/bin/ruby'; const dest = '/usr/bin/ruby';
exec.exec('sudo ln', ['-sf', path.join(toolPath, 'ruby'), dest]); // replace any existing exec.exec('sudo ln', ['-sf', path.join(toolPath, 'ruby'), dest]); // replace any existing
} }
//core.setOutput('ruby-location', toolPath);
if (inputs.addToPath === 'true') { if (inputs.addToPath === 'true') {
core.addPath(toolPath); core.addPath(toolPath);
} }

View File

@@ -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 exec.exec('sudo ln', ['-sf', path.join(toolPath, 'ruby'), dest]); // replace any existing
} }
//core.setOutput('ruby-location', toolPath);
if (inputs.addToPath === 'true') { if (inputs.addToPath === 'true') {
core.addPath(toolPath); core.addPath(toolPath);
} }

View File

@@ -4,9 +4,6 @@
// "incremental": true, /* Enable incremental compilation */ // "incremental": true, /* Enable incremental compilation */
"target": "es6", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */ "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'. */ "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
"lib": [
"es6"
],
// "allowJs": true, /* Allow javascript files to be compiled. */ // "allowJs": true, /* Allow javascript files to be compiled. */
// "checkJs": true, /* Report errors in .js files. */ // "checkJs": true, /* Report errors in .js files. */
// "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */ // "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */