cycjimmy / semantic-release-action

GitHub Action for Semantic Release
https://github.com/marketplace/actions/action-for-semantic-release
MIT License
550 stars 98 forks source link

Outputs dry_run var from the github action #208

Open Ameausoone opened 5 months ago

Ameausoone commented 5 months ago

Is your feature request related to a problem? Please describe.

Actually, the github action doesn't output the dry_run variable.

Describe the solution you'd like

It would be straight forward to output the dry_run value from the github action, not useful if the attribute is specified directly ( dry_run: true). But if you have a complicated condition, it avoid to create an extra step to create a variable dry_run, and it's more readable to use an output variable : steps.semantic-release.outputs.dry_run.

Describe alternatives you've considered

Create an extra step before semantic release action, to create a reusable dry_run variable.

Additional context

N/A