mirror of
https://github.com/cycjimmy/semantic-release-action.git
synced 2026-04-20 02:29:51 +00:00
refactor(inputs): remove redundant defaults and options
This commit is contained in:
parent
fd6487c160
commit
18455e9e99
4 changed files with 18 additions and 17 deletions
|
|
@ -16,7 +16,7 @@ const release = async () => {
|
|||
await setUpJob();
|
||||
await preInstallPlugins();
|
||||
|
||||
const branch = core.getInput(inputs.branch, {required: false}) || 'master';
|
||||
const branch = core.getInput(inputs.branch) || 'master';
|
||||
const result = await semanticRelease({
|
||||
branch,
|
||||
...(handleDryRunOption()),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue