GitHub - dawidd6/action-get-tag: ⚙️ A GitHub Action to get the pushed tag name (original) (raw)
Navigation Menu
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
This repository was archived by the owner on Aug 30, 2022. It is now read-only.
Get tag Github Action
Simple Action that have only one responsibility - output tag name (parsed from GITHUB_REF environment variable).
Usage
Should be used only when actual tag is pushed, otherwise the Action will exit with an error.
- name: Get tag
id: tag
uses: dawidd6/action-get-tag@v1
with:
Optionally strip
strip_v: truevprefix - name: Use tag run: echo ${{steps.tag.outputs.tag}}