Gets semver string from a specified tag.
Required The tag value.
Default: false
When set to true
while run on branches and invalid semver tags, will return a default version of 0.0.0
The semver string with a 'v' prefix.
The semver string with no 'v' prefix.
name: Get version
id: semver
uses: LykkeBusiness/get-semver-from-tag-action@v1.0.2
with:
tag: ${{ github.ref }}