Revert dry_run to using standard core.getInput

This commit is contained in:
Corey Butler 2022-10-12 18:34:58 -05:00
parent 89de29acfd
commit d7f8331859
No known key found for this signature in database
GPG Key ID: 11C5CD9E1B4C7F8F

View File

@ -20,7 +20,7 @@ async function run () {
const root = core.getInput('root', { required: false }) || core.getInput('package_root', { required: false }) || (strategy === 'composer' ? 'composer.json' : null)
// If this value is true, the tag will not be pushed
const isDryRun = core.getBooleanInput('dry_run', { required: false });
const isDryRun = (core.getInput('dry_run', { required: false }) || '').trim().toLowerCase() === 'true'
console.log({isDryRun})
// Extract the version number using the supplied strategy