You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Get Version
v1.1.0
A GitHub Action which extracts the version from github.ref
.
Finally, you can reliably get the pushed version on every platform.
The pushed version. If github.ref
was /refs/tags/v1.2.7
then the value of this output will be v1.2.7
.
steps:
- id: get_version
uses: battila7/[email protected]
- run: echo ${{ steps.get_version.outputs.version }}