Removing output from action as it's not used.
This commit is contained in:
@@ -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'
|
||||||
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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'. */
|
||||||
|
|||||||
Reference in New Issue
Block a user