Update main.js

Renamed option to be consistent with other option names (i.e. not using camelcase)
This commit is contained in:
Corey Butler 2022-10-12 11:49:34 -05:00 committed by GitHub
parent d4b1e8862f
commit a298a00586
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,7 @@ async function run () {
throw new Error(`No version identified${msg}`)
}
const minVersion = core.getInput('minVersion', { required: false })
const minVersion = core.getInput('min_version', { required: false })
// Ensure that version and minVersion are valid SemVer strings
const minVersionSemVer = semver.coerce(minVersion)