mirror of
https://github.com/actions/setup-node.git
synced 2025-05-10 19:23:43 +00:00
remove version input (#424)
This commit is contained in:
parent
3e90744edf
commit
9ced9a43a2
3 changed files with 2 additions and 6 deletions
2
dist/setup/index.js
vendored
2
dist/setup/index.js
vendored
|
@ -6643,7 +6643,7 @@ function isGhes() {
|
|||
return ghUrl.hostname.toUpperCase() !== 'GITHUB.COM';
|
||||
}
|
||||
function resolveVersionInput() {
|
||||
let version = core.getInput('node-version') || core.getInput('version');
|
||||
let version = core.getInput('node-version');
|
||||
const versionFileInput = core.getInput('node-version-file');
|
||||
if (version && versionFileInput) {
|
||||
core.warning('Both node-version and node-version-file inputs are specified, only node-version will be used');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue