mirror of
https://github.com/actions/setup-node.git
synced 2025-12-13 07:41:37 +08:00
build success
This commit is contained in:
@@ -76,7 +76,7 @@ function isGhes(): boolean {
|
|||||||
function resolveVersionInput(): string {
|
function resolveVersionInput(): string {
|
||||||
let version = core.getInput('node-version') || core.getInput('version');
|
let version = core.getInput('node-version') || core.getInput('version');
|
||||||
const versionFileInput = core.getInput('node-version-file');
|
const versionFileInput = core.getInput('node-version-file');
|
||||||
|
|
||||||
if (version && versionFileInput) {
|
if (version && versionFileInput) {
|
||||||
core.warning('Both node-version and node-version-file are specified');
|
core.warning('Both node-version and node-version-file are specified');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user