5
0
Fork 0
mirror of https://github.com/cycjimmy/semantic-release-action.git synced 2025-11-07 10:46:56 +00:00
semantic-release-action/action.yml
cycjimmy 4cea44f71a style(outputs): uniform outputs to underline format
uniform outputs to underline format

BREAKING CHANGE: uniform outputs to underline format

Before:

outputs:
- new-release-published:
- new-release-version
- new-release-major-version
- new-release-minor-version
- new-release-patch-version

After:

outputs:
- new_release_published:
- new_release_version
- new_release_major_version
- new_release_minor_version
- new_release_patch_version
2019-10-21 13:30:51 +08:00

30 lines
919 B
YAML

name: 'Action For Semantic Release'
description: 'GitHub Action for Semantic Release'
author: 'cycjimmy'
branding:
icon: 'package'
color: 'orange'
inputs:
branch:
description: 'The branch for release'
default: master
extra_plugins:
description: 'Extra plugins for pre-install'
default: ''
dry_run:
description: 'Whether to run semantic release in "dry-run" mode. It will override the dryRun attribute in your configuration file'
default: ''
outputs:
new_release_published:
description: 'Whether a new release was published'
new_release_version:
description: "Version of the new release"
new_release_major_version:
description: "Major version of the new release"
new_release_minor_version:
description: "Minor version of the new release"
new_release_patch_version:
description: "Patch version of the new release"
runs:
using: 'node12'
main: 'index.js'