mirror of
https://github.com/ButlerLogic/action-autotag.git
synced 2024-09-20 02:50:04 +07:00
Revert dry_run to using standard core.getInput
This commit is contained in:
parent
89de29acfd
commit
d7f8331859
@ -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)
|
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
|
// 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})
|
console.log({isDryRun})
|
||||||
|
|
||||||
// Extract the version number using the supplied strategy
|
// Extract the version number using the supplied strategy
|
||||||
|
Loading…
Reference in New Issue
Block a user