Get Version
ActionsTags
(2)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 }}
Get Version is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.