Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 486 Bytes

File metadata and controls

31 lines (19 loc) · 486 Bytes

Get semver from tag action

Gets semver string from a specified tag.

tests

Inputs

tag

Required The tag value.

Outputs

prefixed

The semver string with a 'v' prefix.

non-prefixed

The semver string with no 'v' prefix.

Example usage

name: Get version
id: semver
uses: LykkeBusiness/get-semver-from-tag-action@v1.0.2
with:
    tag: ${{ github.ref }}