remove version input

This commit is contained in:
Dmitry Shibanov 2022-02-24 16:11:13 +03:00
parent 3e90744edf
commit 9b199e30df
3 changed files with 2 additions and 6 deletions

2
dist/setup/index.js vendored
View file

@ -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');