You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Get tag
v1.0.0
Simple Action that have only one responsibility - output tag name (parsed from GITHUB_REF
environment variable).
Should be used only when actual tag is pushed, otherwise the Action will exit with an error.
on:
push:
tags:
- '*'
- name: Get tag
id: tag
uses: dawidd6/action-get-tag@master
- name: Use tag
run: echo ${{steps.tag.outputs.tag}}