mirror of
https://github.com/cycjimmy/semantic-release-action.git
synced 2025-11-07 10:46:56 +00:00
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
30 lines
919 B
YAML
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'
|