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
Filip Arenbo 32db8a49b2 feat: added ability to use the "extends" settings
This is done to be able to use shared configurations

docs: Added docs for the extends feature

fix: syntax error, due to rebase
2020-04-29 20:27:04 +02:00

40 lines
1.9 KiB
YAML

name: 'Action For Semantic Release'
description: 'GitHub Action for Semantic Release'
author: 'cycjimmy'
branding:
icon: 'package'
color: 'orange'
inputs:
semantic_version:
required: false
description: 'Specify specifying version range for semantic-release. If no version range is specified, latest version will be used by default'
branches:
required: false
description: 'The branches on which releases should happen. It will override the branches attribute in your configuration file. Support for semantic-release above v16. See https://semantic-release.gitbook.io/semantic-release/usage/configuration#branches for more information.'
branch:
required: false
description: 'The branch on which releases should happen. It will override the branch attribute in your configuration file. If the attribute is not configured on both sides, the default is master. Support for semantic-release older than v16.'
extra_plugins:
required: false
description: 'Extra plugins for pre-install. You can also specify specifying version range for the extra plugins if you prefer.'
dry_run:
required: false
description: 'Whether to run semantic release in `dry-run` mode. It will override the dryRun attribute in your configuration file'
extends:
description: 'One or several sharable configurations, https://semantic-release.gitbook.io/semantic-release/usage/configuration#extends'
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'
new_release_notes:
description: 'The release notes for the new release.'
runs:
using: 'node12'
main: 'index.js'