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 12a1a39975 feat(outputs): Add outputs related to new release version
Add outputs related to new release version
- `new-release-version`: Version of the new release
- `new-release-major-version`: Major version of the new release
- `new-release-minor-version`: Minor version of the new release
- `new-release-patch-version`: Patch version of the new release
2019-10-21 09:46:25 +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'